chore(backend): add TypeScript configuration
swadhinbiswas committed 8 months ago
729ff5f
1 parent addd306
commit 729ff5f
1 file changed
+44 -0
Showing 1 changed file+44-0
▼opengrammar/backend/tsconfig.json
+44-0
| @@ -0,0 +1,44 @@ | ||
1 | +{ | |
2 | + // Visit https://aka.ms/tsconfig to read more about this file | |
3 | + "compilerOptions": { | |
4 | + // File Layout | |
5 | + // "rootDir": "./src", | |
6 | + // "outDir": "./dist", | |
7 | + | |
8 | + // Environment Settings | |
9 | + // See also https://aka.ms/tsconfig/module | |
10 | + "module": "nodenext", | |
11 | + "target": "esnext", | |
12 | + "types": [], | |
13 | + // For nodejs: | |
14 | + // "lib": ["esnext"], | |
15 | + // "types": ["node"], | |
16 | + // and npm install -D @types/node | |
17 | + | |
18 | + // Other Outputs | |
19 | + "sourceMap": true, | |
20 | + "declaration": true, | |
21 | + "declarationMap": true, | |
22 | + | |
23 | + // Stricter Typechecking Options | |
24 | + "noUncheckedIndexedAccess": true, | |
25 | + "exactOptionalPropertyTypes": true, | |
26 | + | |
27 | + // Style Options | |
28 | + // "noImplicitReturns": true, | |
29 | + // "noImplicitOverride": true, | |
30 | + // "noUnusedLocals": true, | |
31 | + // "noUnusedParameters": true, | |
32 | + // "noFallthroughCasesInSwitch": true, | |
33 | + // "noPropertyAccessFromIndexSignature": true, | |
34 | + | |
35 | + // Recommended Options | |
36 | + "strict": true, | |
37 | + "jsx": "react-jsx", | |
38 | + "verbatimModuleSyntax": true, | |
39 | + "isolatedModules": true, | |
40 | + "noUncheckedSideEffectImports": true, | |
41 | + "moduleDetection": "force", | |
42 | + "skipLibCheck": true, | |
43 | + } | |
44 | +} | |
0 | 45 | |