-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtsconfig.json
22 lines (22 loc) · 1.05 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
{
"compilerOptions": {
"target": "ES6", // Set the JavaScript version for output files
"module": "NodeNext", // Use the latest module resolution strategy
"outDir": "./lib/js", // Output directory for the compiled files
"rootDir": "./lib", // Root directory of TypeScript files
"declaration": true, // Generate corresponding '.d.ts' file
"declarationMap": true, // Generate a sourcemap for each corresponding '.d.ts' file
"removeComments": false, // Do not remove comments from output
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables compatibility with default Babel imports
"skipLibCheck": true, // Skip type checking for all declaration files (*.d.ts)
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in user-specified imports
"moduleResolution": "NodeNext" // Use the latest module resolution strategy
},
"include": [
"lib/**/*" // Include all files in the lib directory
],
"exclude": [
"node_modules" // Exclude the node_modules directory
]
}