diff options
Diffstat (limited to 'frontend/tsconfig.json')
| -rw-r--r-- | frontend/tsconfig.json | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 813525a..a78cf3a 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json | |||
| @@ -1,29 +1,30 @@ | |||
| 1 | { | 1 | { |
| 2 | "extends": "./tsconfig.paths.json", | ||
| 3 | "compilerOptions": { | 2 | "compilerOptions": { |
| 4 | "target": "es5", | 3 | "target": "ES2020", |
| 5 | "lib": [ | 4 | "lib": ["ES2020", "DOM", "DOM.Iterable"], |
| 6 | "dom", | 5 | "module": "ESNext", |
| 7 | "dom.iterable", | ||
| 8 | "esnext" | ||
| 9 | ], | ||
| 10 | "allowJs": true, | ||
| 11 | "skipLibCheck": true, | 6 | "skipLibCheck": true, |
| 12 | "esModuleInterop": true, | 7 | "moduleResolution": "bundler", |
| 13 | "allowSyntheticDefaultImports": true, | 8 | "allowImportingTsExtensions": true, |
| 14 | "strict": true, | ||
| 15 | "forceConsistentCasingInFileNames": true, | ||
| 16 | "noFallthroughCasesInSwitch": true, | ||
| 17 | "strictNullChecks": true, | ||
| 18 | // "allowImportingTsExtensions": false, | ||
| 19 | "module": "esnext", | ||
| 20 | "moduleResolution": "node", | ||
| 21 | "resolveJsonModule": true, | 9 | "resolveJsonModule": true, |
| 22 | "isolatedModules": true, | 10 | "isolatedModules": true, |
| 23 | "noEmit": true, | 11 | "noEmit": true, |
| 24 | "jsx": "react-jsx", | 12 | "jsx": "react-jsx", |
| 13 | "strict": true, | ||
| 14 | "noUnusedLocals": true, | ||
| 15 | "noUnusedParameters": true, | ||
| 16 | "noFallthroughCasesInSwitch": true, | ||
| 17 | "baseUrl": ".", | ||
| 18 | "paths": { | ||
| 19 | "@api/*": ["src/api/*"], | ||
| 20 | "@components/*": ["src/components/*"], | ||
| 21 | "@css/*": ["src/css/*"], | ||
| 22 | "@customTypes/*": ["src/types/*"], | ||
| 23 | "@hooks/*": ["src/hooks/*"], | ||
| 24 | "@pages/*": ["src/pages/*"], | ||
| 25 | "@utils/*": ["src/utils/*"] | ||
| 26 | } | ||
| 25 | }, | 27 | }, |
| 26 | "include": [ | 28 | "include": ["src"], |
| 27 | "src" | 29 | "references": [{ "path": "./tsconfig.node.json" }] |
| 28 | ] | 30 | } \ No newline at end of file |
| 29 | } | ||