-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
19 lines (19 loc) · 967 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"compilerOptions": {
"target": "ESNext", // The target JavaScript version.
"module": "ESNext", // Use ES modules.
"moduleResolution": "node", // Resolve modules like Node.js.
"outDir": "./dist", // Output directory for compiled files.
"rootDir": "./src", // Root directory of TypeScript files.
"declaration": true, // Generate .d.ts files for type definitions.
"declarationMap": true, // Generate .d.ts.map files for easier debugging.
"sourceMap": true, // Enable source maps for debugging.
"strict": true, // Enable all strict type-checking options.
"esModuleInterop": true, // Allows default imports from CommonJS modules.
"forceConsistentCasingInFileNames": true, // Ensure consistent file naming.
"skipLibCheck": true, // Skip type-checking of library files.
"lib": ["ESNext", "DOM", "DOM.Iterable"]
},
"include": ["src/**/*", "bin/**/*.js", "examples/**/*.js"],
"exclude": ["node_modules", "dist"]
}