File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ declare const JssContext: Context<{
3737 disableStylesGeneration : boolean
3838} >
3939
40- interface WithStylesProps < S extends Styles | ( ( theme : unknown ) => Styles ) > {
41- classes : Classes < S extends ( ( theme : unknown ) => Styles ) ? keyof ReturnType < S > : keyof S >
40+ interface WithStylesProps < S extends Styles | ( ( theme : any ) => Styles ) > {
41+ classes : Classes < S extends ( theme : any ) => Styles ? keyof ReturnType < S > : keyof S >
4242}
4343/**
4444 * @deprecated Please use `WithStylesProps` instead
4545 */
46- type WithStyles < S extends Styles | ( ( theme : unknown ) => Styles ) > = WithStylesProps < S >
46+ type WithStyles < S extends Styles | ( ( theme : any ) => Styles ) > = WithStylesProps < S >
4747
4848export interface DefaultTheme { }
4949
You can’t perform that action at this time.
0 commit comments