Commit 69e11d2 committed May 16, 2024 · 1 / 1
File tree 7 files changed +32
-59
lines changed
7 files changed +32
-59
lines changed Original file line number Diff line number Diff line change 1
- declare namespace JSX {
2
- /** See https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements */
3
- interface IntrinsicElements {
4
- [ elemName : string ] : any
5
- }
6
- }
1
+ // declare namespace JSX {
2
+ // /** See https://www.typescriptlang.org/docs/handbook/jsx.html#intrinsic-elements */
3
+ // interface IntrinsicElements {
4
+ // [elemName: string]: any
5
+ // }
6
+ // }
Original file line number Diff line number Diff line change 1
1
export type * from '../dist/jsx-runtime.d.ts'
2
+
3
+ declare namespace React {
4
+ namespace JSX {
5
+ interface IntrinsicElements {
6
+ [ elemName : string ] : any
7
+ }
8
+ }
9
+ }
10
+
11
+ declare global {
12
+ namespace JSX {
13
+ interface IntrinsicElements {
14
+ [ elemName : string ] : any
15
+ }
16
+ }
17
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " zeed-dom" ,
3
3
"type" : " module" ,
4
- "version" : " 0.13.1 " ,
4
+ "version" : " 0.13.2 " ,
5
5
"description" : " 🌱 Lightweight offline DOM" ,
6
6
"author" : {
7
7
"name" : " Dirk Holtwick" ,
31
31
"default" : " ./dist/index.browser.js"
32
32
},
33
33
"./jsx-runtime" : {
34
- "types" : " ./dist/ jsx-runtime.d.ts" ,
35
- "browser" : " ./dist/ jsx-runtime.js" ,
36
- "import" : " ./dist/ jsx-runtime.js" ,
37
- "require" : " ./dist/ jsx-runtime.cjs"
34
+ "types" : " ./jsx-runtime/index .d.ts" ,
35
+ "browser" : " ./jsx-runtime/index .js" ,
36
+ "import" : " ./jsx-runtime/index .js" ,
37
+ "require" : " ./jsx-runtime/index .cjs"
38
38
},
39
39
"./jsx-dev-runtime" : {
40
- "browser" : " ./dist/jsx-runtime.js" ,
41
- "import" : " ./dist/jsx-runtime.js" ,
42
- "require" : " ./dist/jsx-runtime.cjs"
40
+ "types" : " ./jsx-runtime/index.d.ts" ,
41
+ "browser" : " ./jsx-runtime/index.js" ,
42
+ "import" : " ./jsx-runtime/index.js" ,
43
+ "require" : " ./jsx-runtime/index.cjs"
43
44
}
44
45
},
45
46
"main" : " dist/index.node.cjs" ,
48
49
"types" : " dist/index.node.d.ts" ,
49
50
"files" : [
50
51
" dist" ,
51
- " jsx-runtime" ,
52
- " env.d.ts"
52
+ " jsx-runtime"
53
53
],
54
54
"engines" : {
55
55
"node" : " >=14.13.1"
Original file line number Diff line number Diff line change 1
- export * from './jsx-intrinsicelements'
2
-
3
1
export * from './vdom'
4
2
export * from './h'
5
3
export * from './utils'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { h } from './html'
2
2
3
- export * from './jsx-intrinsicelements'
4
-
5
3
// See
6
4
// https://esbuild.github.io/api/#jsx-import-source
7
5
// https://www.typescriptlang.org/tsconfig/#jsxImportSource
You can’t perform that action at this time.
0 commit comments