global.d.ts 567 B

12345678910111213141516171819
  1. import { Properties as CSSProperties } from 'csstype';
  2. export = gooberGlobal;
  3. export as namespace gooberGlobal;
  4. declare namespace gooberGlobal {
  5. interface CSSAttribute extends CSSProperties {
  6. [key: string]: CSSAttribute | string | number | undefined;
  7. }
  8. function createGlobalStyles(
  9. tag: CSSAttribute | TemplateStringsArray | string,
  10. ...props: Array<string | number | Function>
  11. ): Function;
  12. function glob(
  13. tag: CSSAttribute | TemplateStringsArray | string,
  14. ...props: Array<string | number>
  15. ): void;
  16. }