-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
16 lines (16 loc) · 833 Bytes
/
tsconfig.json
File metadata and controls
16 lines (16 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"compilerOptions": {
"jsx": "react",
"target": "es5", // Compile to ES5 for compatibility with most environments
"module": "commonjs", // Use commonjs modules, suitable for Node.js
"lib": ["dom", "es2015"], // Include DOM and ES2015+ type definitions
"declaration": true, // Generate .d.ts files for TypeScript users
"outDir": "./lib", // Output directory for compiled files
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables compatibility with Babel and CommonJS
"skipLibCheck": true, // Skip type checking for all declaration files
"forceConsistentCasingInFileNames": true // Ensure casing is correct in imports
},
"include": ["src"], // Include your source files
"exclude": ["node_modules"] // Exclude node_modules and the lib folder
}