-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
29 lines (29 loc) · 1007 Bytes
/
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
{
"compilerOptions": {
"target": "es2015", // "es5"
"jsx": "react-jsx", // "react"
"jsxImportSource": "@emotion/react",
"moduleResolution": "node", // Needed when using 'resolveJsonModule'
"moduleDetection": "force",
"typeRoots": ["./node_modules/@types", "./src/d.ts"],
"resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
// "declaration": false, // works without it
// "emitDeclarationOnly": false, // works without it
"noEmit": true, // definitely needed for type-checking
// "esModuleInterop": true, // works without it
// "forceConsistentCasingInFileNames": true, // works without it
// "strict": true, // works without it
// "strictNullChecks": false, // works without it
// "alwaysStrict": true, // works without it
"skipLibCheck": true // Definitely needed to ignore 'node_modules'
},
"include": ["src/**/*.ts", "src/**/*.js"],
"exclude": [
"node_modules",
"types",
"jsdoc",
"src/assets"
]
}