Skip to content

Commit d76eae0

Browse files
committed
Update TypeScript configurations in test projects to enable esModuleInterop for better compatibility and change module resolution from Node to bundler in tsconfig.node.json.
1 parent aecb542 commit d76eae0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/test-react-native/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"lib": ["DOM", "DOM.Iterable", "ESNext"],
66
"allowJs": false,
77
"skipLibCheck": true,
8-
"esModuleInterop": false,
8+
"esModuleInterop": true,
99
"allowSyntheticDefaultImports": true,
1010
"strict": true,
1111
"forceConsistentCasingInFileNames": true,

test/test-react-native/tsconfig.node.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"composite": true,
44
"module": "ESNext",
5-
"moduleResolution": "Node",
5+
"moduleResolution": "bundler",
66
"allowSyntheticDefaultImports": true
77
},
88
"include": ["vite.config.ts"]

0 commit comments

Comments
 (0)