Skip to content

Commit

Permalink
Allow string array for at rules (stitchesjs#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwooosh authored Sep 1, 2021
1 parent 3a43db2 commit 8084f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/stitches.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default interface Stitches<
'@font-face'?: unknown
} & {
[K in Prelude]: K extends '@import'
? string
? string | string[]
: K extends '@font-face'
? CSSUtil.Native.AtRule.FontFace | CSSUtil.Native.AtRule.FontFace[]
: K extends `@keyframes ${string}`
Expand Down

0 comments on commit 8084f24

Please sign in to comment.