Skip to content

Commit ae5c65b

Browse files
committed
fix: fallbacks to be optional
1 parent bf2fcb1 commit ae5c65b

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
@@ -13,7 +13,7 @@ type NormalCssProperties = CSSProperties<string | number>
1313
type NormalCssValues<K> = K extends keyof NormalCssProperties ? NormalCssProperties[K] : JssValue
1414

1515
export type JssStyle<Props = any, Theme = undefined> = {
16-
fallbacks: JssStyle<Props, Theme> | (JssStyle<Props, Theme>[])
16+
fallbacks?: JssStyle<Props, Theme> | (JssStyle<Props, Theme>[])
1717
} & (
1818
| {
1919
[K in keyof NormalCssProperties]:

0 commit comments

Comments
 (0)