Skip to content

Commit

Permalink
Update typings to resolve #329
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibz committed May 28, 2018
1 parent b9f5ae2 commit bb13741
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type StyleDeclaration<T = {}> = {
*/
export type StyleDeclarationValue = object;

interface StyleSheetStatic {
export interface StyleSheetStatic {
/**
* Create style sheet
*/
Expand All @@ -38,6 +38,8 @@ interface StyleSheetStatic {
* Rehydrate class names from server renderer
*/
rehydrate(renderedClassNames: string[]): void;

extend(extensions: Extension[]): Exports;
}

export var StyleSheet: StyleSheetStatic;
Expand Down Expand Up @@ -116,8 +118,4 @@ interface Exports {
StyleSheet: StyleSheetStatic;
StyleSheetServer: StyleSheetServerStatic;
StyleSheetTestUtils: StyleSheetTestUtilsStatic;
}

interface StyleSheetStatic {
extend(extensions: Extension[]): Exports;
}
}

0 comments on commit bb13741

Please sign in to comment.