File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- import type { JSX } from "react" ;
2
1
// Definitions by: @types /styled-jsx <https://www.npmjs.com/package/@types/styled-jsx>
3
2
4
3
declare module 'styled-jsx/css' {
4
+ import type { JSX } from "react" ;
5
+
5
6
function css ( chunks : TemplateStringsArray , ...args : any [ ] ) : JSX . Element
6
7
namespace css {
7
8
export function global (
Original file line number Diff line number Diff line change 1
- import type { JSX } from "react" ;
2
1
/// <reference types="./css" />
3
2
/// <reference types="./macro" />
4
3
/// <reference types="./style" />
5
4
/// <reference types="./global" />
6
5
7
6
declare module 'styled-jsx' {
7
+ import type { JSX } from "react" ;
8
+
8
9
export type StyledJsxStyleRegistry = {
9
10
styles ( options ?: { nonce ?: string } ) : JSX . Element [ ]
10
11
flush ( ) : void
Original file line number Diff line number Diff line change 1
- import type { JSX } from "react" ;
2
1
declare module 'styled-jsx/macro' {
2
+ import type { JSX } from "react" ;
3
+
3
4
namespace macro {
4
5
function resolve (
5
6
chunks : TemplateStringsArray ,
You can’t perform that action at this time.
0 commit comments