Setup api and express
This commit is contained in:
20
tsconfig.json
Normal file
20
tsconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "ESNext", // Use ESNext for ESM
|
||||
"target": "ES2020", // Target modern ECMAScript versions
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"outDir": "./dist", // Output directory for compiled files
|
||||
"strict": true, // Enable strict type-checking options
|
||||
"skipLibCheck": true, // Skip type checking of declaration files
|
||||
"resolveJsonModule": true, // Include JSON imports
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": false, // Allow emitting output
|
||||
"isolatedModules": true, // Required for using ESM modules
|
||||
"baseUrl": ".", // Allow absolute imports relative to project root
|
||||
"paths": {
|
||||
"*": ["node_modules/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user