-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
19 lines (19 loc) · 1.03 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"compilerOptions": {
"outDir": "./dist", // Output directory for compiled files
"declaration": true, // Emit `.d.ts` files
"declarationMap": true, // Emit source maps for `.d.ts` files
"emitDeclarationOnly": true, // Only emit `.d.ts` files, no `.js`
"strict": true, // Enable strict type checking
"moduleResolution": "node", // Resolve modules as Node.js does
"target": "ES6", // Target ECMAScript version
"module": "CommonJS", // Use CommonJS modules
"allowJs": false, // Disallow compiling `.js` files
"esModuleInterop": true, // Enable interoperability between CommonJS and ES modules
"skipLibCheck": true, // Skip checking types of dependencies
"forceConsistentCasingInFileNames": true,
"types": ["node"]
},
"include": ["src/**/*"], // Include all TypeScript files in `src`
"exclude": ["node_modules", "dist"] // Exclude `node_modules` and `dist` folders
}