We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72acbb8 commit 86f8497Copy full SHA for 86f8497
generatedTypes/style/themeManager.d.ts
@@ -27,7 +27,7 @@ export declare class ThemeManager {
27
dividerColor: string;
28
components: Extendable;
29
};
30
- setItem(key: string, value: string): void;
+ setItem(key: string, value: any): void;
31
getItem(key: string): any;
32
setComponentTheme(componentName: string, overrides: Dictionary<any> | Function): void;
33
setComponentForcedTheme(componentName: string, overrides: Dictionary<any> | Function): void;
src/style/themeManager.ts
@@ -32,7 +32,7 @@ export class ThemeManager {
return this.theme;
}
34
35
- setItem(key: string, value: string) {
+ setItem(key: string, value: any) {
36
if (key === 'components') {
37
throw new Error('Overriding the "components" key is not possible.');
38
0 commit comments