Skip to content

Commit ae4dc22

Browse files
committed
⚙️ fix TS build issue
1 parent e9eb10f commit ae4dc22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"esModuleInterop": true,
1212
"skipLibCheck": true,
1313
"rootDir": "src",
14-
"declaration": true
14+
"declaration": true,
15+
"paths": {
16+
"react": ["./node_modules/@types/react"]
17+
}
1518
},
1619
"exclude": [
1720
"examples/*",

0 commit comments

Comments
 (0)