mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Make tests happy
This commit is contained in:
Vendored
+3
-3
@@ -105,11 +105,11 @@ export interface RuleOptions {
|
||||
}
|
||||
export declare class SheetsRegistry {
|
||||
constructor();
|
||||
registry: ReadonlyArray<StyleSheet<any>>;
|
||||
registry: ReadonlyArray<StyleSheet>;
|
||||
readonly index: number;
|
||||
add(sheet: StyleSheet<any>): void;
|
||||
add(sheet: StyleSheet): void;
|
||||
reset(): void;
|
||||
remove(sheet: StyleSheet<any>): void;
|
||||
remove(sheet: StyleSheet): void;
|
||||
toString(options?: ToCssOptions): string;
|
||||
}
|
||||
declare class JSS {
|
||||
|
||||
@@ -92,7 +92,11 @@ sheetsRegistry.add(styleSheet);
|
||||
const secondStyleSheet = jss.createStyleSheet(
|
||||
{
|
||||
ruleWithMockObservable: {
|
||||
subscribe() {}
|
||||
subscribe() {
|
||||
return {
|
||||
unsubscribe() {}
|
||||
};
|
||||
}
|
||||
},
|
||||
container2: {
|
||||
display: 'flex',
|
||||
|
||||
Reference in New Issue
Block a user