-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
17 lines (17 loc) · 1012 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"compilerOptions": {
"target": "ESNext", // Compiles to ES2019, suitable for recent Node.js versions
"module": "CommonJS", // Use commonjs module system, as used by Node.js
"moduleResolution": "Node", // Use Node.js module resolution mechanisms
"outDir": "./dist", // Output directory for compiled files
"declaration": true, // create *.d.ts files
"rootDir": "./src", // Root directory of your source files
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Allows default imports from modules with no default export
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"lib": ["es2019"] // Specify library files to be included in the compilation
},
"include": ["src/**/*"], // Include all files in the src folder
"exclude": ["node_modules", "dist"] // Exclude node_modules and dist from the compilation
}