Skip to content

Commit 6658a0f

Browse files
committed
changed tyscript.json
1 parent ef06cab commit 6658a0f

1 file changed

Lines changed: 9 additions & 40 deletions

File tree

‎backend-express/tsconfig.json‎

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,15 @@
11
{
2-
// Visit https://aka.ms/tsconfig to read more about this file
32
"compilerOptions": {
4-
// File Layout
5-
// "rootDir": "./src",
6-
// "outDir": "./dist",
3+
"rootDir": "./src",
4+
"outDir": "./dist",
75

8-
// Environment Settings
9-
// See also https://aka.ms/tsconfig/module
10-
"module": "nodenext",
11-
"target": "esnext",
12-
"types": ["node"],
13-
// For nodejs:
14-
// "lib": ["esnext"],
15-
// "types": ["node"],
16-
// and npm install -D @types/node
6+
"module": "commonjs",
7+
"target": "es2020",
178

18-
// Other Outputs
19-
"sourceMap": true,
20-
"declaration": true,
21-
"declarationMap": true,
22-
23-
// Stricter Typechecking Options
24-
// "noUncheckedIndexedAccess": true,
25-
// "exactOptionalPropertyTypes": true,
26-
"noUncheckedIndexedAccess": false,
27-
"exactOptionalPropertyTypes": false,
28-
29-
// Style Options
30-
// "noImplicitReturns": true,
31-
// "noImplicitOverride": true,
32-
// "noUnusedLocals": true,
33-
// "noUnusedParameters": true,
34-
// "noFallthroughCasesInSwitch": true,
35-
// "noPropertyAccessFromIndexSignature": true,
36-
37-
// Recommended Options
9+
"esModuleInterop": true,
3810
"strict": true,
39-
// "jsx": "react-jsx",
40-
// "verbatimModuleSyntax": true,
41-
"isolatedModules": true,
42-
"noUncheckedSideEffectImports": true,
43-
"moduleDetection": "force",
44-
"skipLibCheck": true,
11+
12+
"sourceMap": true,
13+
"skipLibCheck": true
4514
}
46-
}
15+
}

0 commit comments

Comments
 (0)