-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
21 lines (21 loc) · 906 Bytes
/
tsconfig.base.json
File metadata and controls
21 lines (21 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
"outDir": "dist",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"moduleDetection": "force",
"esModuleInterop": true,
"lib": [
"DOM", // Adds type definitions for web browser APIs
"DOM.Iterable", // Extends DOM types with iterable protocol support
"ESNext", // Includes types for latest ECMAScript features
"WebWorker" // Adds type definitions for Web Worker APIs
],
"allowSyntheticDefaultImports": true, // Enables default imports from modules without explicit default export
"noPropertyAccessFromIndexSignature": false, // correctss "TS4111: Property comes from an index signature" error
"skipLibCheck": true,
"declaration": true, // Generate .d.ts files
"sourceMap": true // Generate source maps
}
}