From a1c7aa803be8ed0d120a365109f2f06e32b545c9 Mon Sep 17 00:00:00 2001 From: qvxqvx <6132138+qvxqvx@users.noreply.github.com> Date: Tue, 11 Sep 2018 16:25:08 +0300 Subject: [PATCH] [jss] Correction to JSSPlugin definition --- types/jss/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jss/index.d.ts b/types/jss/index.d.ts index c8e0f13c6c..edcb0ba95f 100644 --- a/types/jss/index.d.ts +++ b/types/jss/index.d.ts @@ -77,7 +77,7 @@ export interface StyleSheet { export type GenerateClassName = (rule: Rule, sheet?: StyleSheet) => string; export interface JSSPlugin { - [key: string]: () => Partial<{ + [key: string]: Partial<{ onCreateRule(name: string, style: Style, options: RuleOptions): Rule; onProcessRule(rule: Rule, sheet: StyleSheet): void; onProcessStyle(style: Style, rule: Rule, sheet: StyleSheet): Style;