diff --git a/types/jss/index.d.ts b/types/jss/index.d.ts index 27c8d779a6..3318f9a565 100644 --- a/types/jss/index.d.ts +++ b/types/jss/index.d.ts @@ -104,13 +104,13 @@ export interface RuleOptions { className: string; } export declare class SheetsRegistry { - constructor(); - registry: ReadonlyArray; - readonly index: number; - add(sheet: StyleSheet): void; - reset(): void; - remove(sheet: StyleSheet): void; - toString(options?: ToCssOptions): string; + constructor(); + registry: ReadonlyArray; + readonly index: number; + add(sheet: StyleSheet): void; + reset(): void; + remove(sheet: StyleSheet): void; + toString(options?: ToCssOptions): string; } export type CreateStyleSheetOptions = Partial<{ media: string; @@ -121,7 +121,7 @@ export type CreateStyleSheetOptions = Partial<{ generateClassName: GenerateClassName; classNamePrefix: string; }>; -declare class JSS { +export declare class JSS { constructor(options?: Partial); createStyleSheet( styles: Partial>,