Skip to content

Commit 5f69b77

Browse files
fix(build): Ensure TypeScript includes React types
1 parent f7c6ee1 commit 5f69b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"lib": ["ES2020", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
8-
"types": ["vitest/globals"],
8+
"types": ["vitest/globals", "react", "react-dom"],
99

1010
/* Bundler mode */
1111
"moduleResolution": "bundler",

0 commit comments

Comments
 (0)