-
Notifications
You must be signed in to change notification settings - Fork 22
/
tsconfig.json
39 lines (39 loc) · 1.03 KB
/
tsconfig.json
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
32
33
34
35
36
37
38
39
{
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"lib": ["dom", "ESNext", "dom.iterable"],
"module": "esnext",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"pretty": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"jsx": "preserve",
"moduleResolution": "node",
"allowJs": true,
"checkJs": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"typeRoots": [
"./node_modules/@types",
"./plugin/assets/src/types"
],
"noEmit": true,
"allowSyntheticDefaultImports":true,
// Once we have WP types available we can remove following.
"noImplicitAny": false,
"resolveJsonModule": true,
},
"include": [
"theme/assets/src/**/*",
"plugin/assets/src/**/*"
],
"exclude": [
"node_modules"
]
}