Skip to content

Commit cdf00ac

Browse files
committed
fix: fallbacks to be optional
1 parent 75f792b commit cdf00ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/jss/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type NormalCssProperties = CSSProperties<string | number>
1717
type NormalCssValues<K> = K extends keyof NormalCssProperties ? NormalCssProperties[K] : JssValue
1818

1919
export type JssStyle<Props = any, Theme = undefined> = {
20-
fallbacks: JssStyle<Props, Theme> | (JssStyle<Props, Theme>[])
20+
fallbacks?: JssStyle<Props, Theme> | (JssStyle<Props, Theme>[])
2121
} & (
2222
| {
2323
[K in keyof NormalCssProperties]:

0 commit comments

Comments
 (0)