Skip to content

Commit dfc2a85

Browse files
committed
[fix] type alias of Preact
1 parent 29c3f82 commit dfc2a85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"paths": {
1414
"react": ["./node_modules/preact/compat/"],
1515
"react/jsx-runtime": ["./node_modules/preact/jsx-runtime"],
16-
"react-dom": ["./node_modules/preact/compat/"]
16+
"react-dom": ["./node_modules/preact/compat/"],
17+
"react-dom/*": ["./node_modules/preact/compat/*"]
1718
},
1819
"sourceMap": true,
1920
"outDir": "./dist/"

0 commit comments

Comments
 (0)