File tree 8 files changed +27
-29
lines changed
8 files changed +27
-29
lines changed Original file line number Diff line number Diff line change
1
+ export * from '../dist/jsx-runtime/jsx-runtime.cjs'
Original file line number Diff line number Diff line change
1
+ export * from '../src/jsx-runtime.ts'
Original file line number Diff line number Diff line change
1
+ export type * from '../src/jsx-runtime.js'
Original file line number Diff line number Diff line change
1
+ export * from '../dist/jsx-runtime/jsx-runtime.js'
Original file line number Diff line number Diff line change
1
+ export * from '../src/jsx-runtime.ts'
Original file line number Diff line number Diff line change 1
1
export type * from '../src/jsx-runtime.ts'
2
-
3
- declare global {
4
- namespace JSX {
5
- // @ts -ignore - conflict with React typings
6
- type Element = [ string , ...any [ ] ]
7
- // @ts -ignore - conflict with React typings
8
- interface IntrinsicElements {
9
- // @ts -ignore - conflict with React typings
10
- [ key : string ] : any
11
- }
12
- }
13
- }
Original file line number Diff line number Diff line change 26
26
"require" : " ./dist/index.cjs"
27
27
},
28
28
"./jsx-runtime" : {
29
- "types" : " ./jsx-runtime/index.d.ts" ,
30
- "browser" : " ./jsx-runtime/index.js" ,
29
+ "types" : {
30
+ "import" : " ./jsx-runtime/index.d.ts" ,
31
+ "require" : " ./jsx-runtime/index.d.cts"
32
+ },
31
33
"import" : " ./jsx-runtime/index.js" ,
32
34
"require" : " ./jsx-runtime/index.cjs"
33
35
},
34
36
"./jsx-dev-runtime" : {
35
- "types" : " ./jsx-runtime/index.d.ts" ,
36
- "browser" : " ./jsx-runtime/index.js" ,
37
- "import" : " ./jsx-runtime/index.js" ,
38
- "require" : " ./jsx-runtime/index.cjs"
37
+ "types" : {
38
+ "import" : " ./jsx-dev-runtime/index.d.ts" ,
39
+ "require" : " ./jsx-dev-runtime/index.d.cts"
40
+ },
41
+ "import" : " ./jsx-dev-runtime/index.js" ,
42
+ "require" : " ./jsx-dev-runtime/index.cjs"
39
43
}
40
44
},
41
45
"main" : " dist/index.cjs" ,
Original file line number Diff line number Diff line change @@ -13,17 +13,18 @@ export type DOMOutputSpecArray =
13
13
| [ string , Attributes , DOMOutputSpecArray | 0 ]
14
14
| [ string , DOMOutputSpecArray ]
15
15
16
- // declare global {
17
- // // eslint-disable-next-line @typescript-eslint/no-namespace
18
- // namespace JSX {
19
- // // @ts -ignore - conflict with React typings
20
- // type Element = DOMOutputSpecArray | DOMOutputSpecElement
21
- // interface IntrinsicElements {
22
- // // @ts -ignore - conflict with React typings
23
- // [key: string]: any
24
- // }
25
- // }
26
- // }
16
+ declare global {
17
+ // eslint-disable-next-line @typescript-eslint/no-namespace
18
+ namespace JSX {
19
+ // @ts -ignore - conflict with React typings
20
+ type Element = [ string , ...any [ ] ]
21
+ // @ts -ignore - conflict with React typings
22
+ interface IntrinsicElements {
23
+ // @ts -ignore - conflict with React typings
24
+ [ key : string ] : any
25
+ }
26
+ }
27
+ }
27
28
28
29
export type JSXRenderer = (
29
30
tag : 'slot' | string | ( ( props ?: Attributes ) => DOMOutputSpecArray | DOMOutputSpecElement ) ,
You can’t perform that action at this time.
0 commit comments