-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Fix typescript errors related to jss v10
- Loading branch information
Showing
6 changed files
with
20 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import { GenerateClassName } from 'jss'; | ||
import { GenerateId } from 'jss'; | ||
|
||
export interface GenerateClassNameOptions { | ||
dangerouslyUseGlobalCSS?: boolean; | ||
productionPrefix?: string; | ||
seed?: string; | ||
} | ||
|
||
export default function createGenerateClassName( | ||
options?: GenerateClassNameOptions, | ||
): GenerateClassName; | ||
export default function createGenerateClassName(options?: GenerateClassNameOptions): GenerateId; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { JSSOptions } from 'jss'; | ||
import { JssOptions } from 'jss'; | ||
|
||
export default function jssPreset(): JSSOptions; | ||
export default function jssPreset(): JssOptions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters