css.d.ts 475 B

12345678910111213141516
  1. // Definitions by: @types/styled-jsx <https://www.npmjs.com/package/@types/styled-jsx>
  2. declare module 'styled-jsx/css' {
  3. function css(chunks: TemplateStringsArray, ...args: any[]): JSX.Element
  4. namespace css {
  5. export function global(
  6. chunks: TemplateStringsArray,
  7. ...args: any[]
  8. ): JSX.Element
  9. export function resolve(
  10. chunks: TemplateStringsArray,
  11. ...args: any[]
  12. ): { className: string; styles: JSX.Element }
  13. }
  14. export = css
  15. }