-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
31 lines (27 loc) · 870 Bytes
/
tsconfig.json
File metadata and controls
31 lines (27 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
// This imports all the default Docusaurus types
"extends": "@docusaurus/tsconfig",
// All compiler settings MUST go inside this object
"compilerOptions": {
// --- Fix for '@theme/Heading' error ---
"baseUrl": ".",
"types": [
"@docusaurus/module-type-aliases",
"@docusaurus/theme-classic"
],
// --- Fix for the deprecation warning ---
// I also fixed a small typo here ("ignoreDepregations" -> "ignoreDeprecations")
"ignoreDeprecations": "5.0",
// --- All your other settings, now in the right place ---
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"noEmit": true,
"resolveJsonModule": true,
"allowJs": true,
"strict": false,
"skipLibCheck": true,
"moduleResolution": "node"
},
// This is correct, it stays at the root
"exclude": [".docusaurus", "build"]
}