From d73e42043d120712ccfb8ee3dfa3f2a092d87730 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Fri, 20 Jul 2018 17:55:46 -0700 Subject: [PATCH] [JSS] Export the JSS class declaration (#27428) * Export the JSS class. * Fix tests. * Revert "Fix tests." This reverts commit 5d2acc01ab583dca20999ecc9d9d04e899066f98. --- types/jss/index.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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>,