Skip to content

Commit af05895

Browse files
committed
Update tsconfig.json to change moduleResolution to 'bundler' and include global type definitions for improved compatibility
1 parent 18ed131 commit af05895

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
"jsx": "react-jsx",
66
"baseUrl": ".",
77
"esModuleInterop": true,
8-
"moduleResolution": "node",
8+
"moduleResolution": "bundler",
99
"resolveJsonModule": true,
10+
"ignoreDeprecations": "6.0",
11+
"skipLibCheck": true,
12+
"allowSyntheticDefaultImports": true,
13+
"strict": false,
1014
"types": ["@docusaurus/module-type-aliases", "node"]
1115
},
1216
"include": [
1317
"src",
18+
"src/types/global.d.ts",
1419
"docusaurus.config.ts",
1520
"docusaurus.config.js",
1621
"sidebars.ts",

0 commit comments

Comments
 (0)