From 8084f244dc25d49baeb6883cd854e9632d7720d3 Mon Sep 17 00:00:00 2001 From: Sebastiaan Scheers Date: Wed, 1 Sep 2021 17:56:30 +0200 Subject: [PATCH] Allow string array for at rules (#752) --- packages/core/types/stitches.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/types/stitches.d.ts b/packages/core/types/stitches.d.ts index e20cd1c2..2a3665ce 100644 --- a/packages/core/types/stitches.d.ts +++ b/packages/core/types/stitches.d.ts @@ -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}`