-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 867 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
30
31
{
"compilerOptions": {
// because we use vite compiler we don't let TS emit any files
// we just want to use it as a type checker
"noEmit": true,
"strict": true,
"moduleResolution": "Bundler",
"allowSyntheticDefaultImports": true,
"module": "ESNext",
"esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"skipLibCheck": true,
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"types": ["gas-types-detailed", "vitest/globals", "vite/client"],
"jsx": "react-jsx",
"paths": {
"@/*": ["./src/*"]
}
},
"exclude": ["node_modules/*"],
"include": [
// include normal sources
"src/**/*",
// the typescript of storybook configuration should also be included
".storybook/**/*"
]
}