-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
46 lines (42 loc) · 1.35 KB
/
tsconfig.json
File metadata and controls
46 lines (42 loc) · 1.35 KB
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
{
"compilerOptions": {
"extends": "./node_modules/gts/tsconfig-google.json",
/* Base Options */
"target": "ESNext",
"module": "ESNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"moduleResolution": "bundler",
"allowArbitraryExtensions": true,
"resolveJsonModule": true,
/* Lit & Web Components Support */
// Enables support for Lit decorators (@customElement, @property)
"experimentalDecorators": true,
// Required for Lit: standard class fields break Lit's reactive property
// initialization. Setting this to false ensures decorators handle fields.
"useDefineForClassFields": false,
/* Bundler Environment (Vite/Esbuild) */
// Ensures each file can be transpiled independently (required by Vite/Esbuild)
"isolatedModules": true,
// Vite handles the actual emission of JS files; tsc is used for type-checking only
"noEmit": true,
/* Type Checking */
"strict": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
/* Interop & Safety */
"esModuleInterop": true,
// Speeds up compilation by skipping type checking of declaration files (.d.ts)
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
},
"include": [
"**/*.ts",
"vite-env.d.ts"
],
"exclude": [
"node_modules",
"dist",
"build"
]
}