diff --git a/typings/index.d.ts b/typings/index.d.ts index d2bb222..fd76d0e 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -15,7 +15,7 @@ export type ThemingType = { $Without & { theme?: $DeepPartial } > & hoistNonReactStatics.NonReactStatics; - useTheme(overrides?: $DeepPartial): Theme; + useTheme(overrides?: $DeepPartial): T; }; export const createTheming: (defaultTheme: Theme) => ThemingType;