Skip to content

Commit 38075fa

Browse files
types: improve Styles types, allow arrays #1422 (#1521)
Co-authored-by: Petr Borisov <pborisov@aligntech.com>
1 parent 26b9919 commit 38075fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/jss/src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export type Styles<
3535
> = Record<
3636
Name,
3737
| JssStyle<Props, Theme>
38+
| Array<JssStyle<Props, Theme>>
3839
| string
3940
| Func<Props, Theme, JssStyle<undefined, undefined> | string | null | undefined>
4041
| Observable<JssStyle | string | null | undefined>

0 commit comments

Comments
 (0)