Skip to content

Commit fb92e61

Browse files
fix: use react-jsx transform and support ES2021 types
1 parent 5e08233 commit fb92e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"declaration": true,
66
"esModuleInterop": true,
77
"forceConsistentCasingInFileNames": true,
8-
"jsx": "react",
9-
"lib": ["dom", "es6", "dom.iterable"],
8+
"jsx": "react-jsx",
9+
"lib": ["DOM", "ES6", "DOM.Iterable", "ES2021"],
1010
"isolatedModules": true,
1111
"module": "ES6",
1212
"moduleResolution": "node",

0 commit comments

Comments
 (0)