-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtsconfig.json
47 lines (47 loc) · 1.53 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
40
41
42
43
44
45
46
47
{
"compilerOptions": {
"target": "ES2017",
"module": "esnext",
"sourceMap": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"lib": ["dom", "es5", "scripthost", "es2017.object"],
"types": [
"vite/client", // asset import, vite-injected env variables, etc.
"@emotion/react/types/css-prop",
"vite-plugin-svgr/client",
"vitest/globals" // makes vitest.config.ts' globals:true work
],
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"alwaysStrict": true,
"noImplicitReturns": true,
"strict": true,
"strictNullChecks": true,
"outDir": "../../output/browser",
"resolveJsonModule": true,
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "node",
"isolatedModules": true,
"noEmit": true,
"useDefineForClassFields": true, // for mobx makeObservable()
"plugins": [
{
"name": "typescript-styled-plugin", // adds intellisense for css / emotion
"lint": {
"validProperties": ["label"]
}
}
],
"noFallthroughCasesInSwitch": true
},
"exclude": ["node_modules", "typings"],
"include": [
"src",
"src/components/statistics/dom-to-image-more.d.ts",
"src/custom.d.ts"
]
}