diff --git a/packages/jss/src/index.d.ts b/packages/jss/src/index.d.ts index 1dfe120e1..edfc7ce16 100644 --- a/packages/jss/src/index.d.ts +++ b/packages/jss/src/index.d.ts @@ -15,13 +15,21 @@ type NormalCssValues = K extends keyof NormalCssProperties ? NormalCssProperties[K] | JssValue : JssValue -export type JssStyle = { - [K in keyof NormalCssProperties | string]: - | NormalCssValues - | JssStyle - | Func | JssStyle | undefined> - | Observable | JssStyle | undefined> -} +export type JssStyle = + | { + [K in keyof NormalCssProperties]: + | NormalCssValues + | JssStyle + | Func | JssStyle | undefined> + | Observable | JssStyle | undefined> + } + | { + [K: string]: + | JssValue + | JssStyle + | Func + | Observable + } export type Styles = Record< Name,