-
Notifications
You must be signed in to change notification settings - Fork 19
/
tsconfig.json
40 lines (34 loc) · 1.09 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
{
"include": [
"etc",
"src",
".storybook/*.ts",
"eslint.config.mjs",
"prettier.config.cjs",
"vite.config.ts",
"rslib.config.ts"
],
"extends": [
"./node_modules/@tsconfig/strictest/tsconfig.json",
"./node_modules/@tsconfig/node22/tsconfig.json"
],
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vitest/globals"],
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"allowImportingTsExtensions": true,
// This option can help you avoid using certain syntax that cannot be correctly compiled by SWC and Babel, see:
// https://rsbuild.dev/guide/basic/typescript#isolatedmodules
"isolatedModules": true,
// Strips all comments from TypeScript files when converting into JavaScript,
// you rarely read compiled code so this saves space
"removeComments": true,
"noEmit": true,
// TODO Remove these exceptions and fix more errors one day
"noImplicitAny": false,
"noPropertyAccessFromIndexSignature": false
}
}