-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathtsconfig.json
More file actions
27 lines (25 loc) · 1.21 KB
/
tsconfig.json
File metadata and controls
27 lines (25 loc) · 1.21 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
// tsconfig.json
{
"compilerOptions": {
// ------------------ Compilation Targets ------------------
"target": "ES2020" /* Compile to modern JS. Rollup handles the final bundle format. */,
"module": "ESNext" /* Use modern ES module format. */,
"moduleResolution": "node" /* Standard module resolution. */,
"allowSyntheticDefaultImports": true /* Allows default imports from modules with no default export. */,
"esModuleInterop": true /* Compatibility for CommonJS imports (like Lit/MWC modules). */,
"lib": [
"ES2020",
"DOM"
] /* Include modern JS features and browser DOM APIs. */,
// ------------------ Output and Source Maps ------------------
"sourceMap": true /* Generate source map files. */,
"rootDir": "src" /* Specify the root directory of source files. */,
// ------------------ Type Checking and Strictness ------------------
"strict": true /* Enable all strict type-checking options. Highly recommended. */,
"skipLibCheck": true /* Skip type checking of declaration files (faster compilation). */
},
"include": [
"src/**/*.ts" /* Only include TypeScript files in the src folder. */,
"src/**/*.d.ts" // ⬅️ Ensure .d.ts files are included
]
}