diff --git a/bau-css/bau-css.d.ts b/bau-css/bau-css.d.ts index ef23814c..512b725a 100644 --- a/bau-css/bau-css.d.ts +++ b/bau-css/bau-css.d.ts @@ -2,7 +2,18 @@ export default function BauCss(input?: { window?: Window; target?: HTMLElement; }): { - css: (any) => string; - keyframes: (any) => string; - createGlobalStyles: (any) => any; + css: ( + tag: TemplateStringsArray, + ...tagArgs: TagArgs + ) => string; + keyframes: ( + tag: TemplateStringsArray, + ...tagArgs: TagArgs + ) => string; + createGlobalStyles: ( + tag: TemplateStringsArray, + ...tagArgs: TagArgs + ) => any; }; + +type TagArgs = (string | number)[]