aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-11-22 13:37:56 +0530
committerRitesh Ghosh <[email protected]>2023-11-22 13:37:56 +0530
commit24d499b604c8df616d0faba1ae01dfeb1e98ac50 (patch)
tree68dd45dcab230475599ba07d9ac8ba98a5c95a1b /tsconfig.json
parent880e1c49942ec443271d8ab5121ddc63aa78796e (diff)
downloadaniwatch-api-24d499b604c8df616d0faba1ae01dfeb1e98ac50.tar.xz
aniwatch-api-24d499b604c8df616d0faba1ae01dfeb1e98ac50.zip
build: tsconfig overhaul
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json27
1 files changed, 19 insertions, 8 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 09fe66d..d3bd0f3 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,18 +1,29 @@
{
"compilerOptions": {
- "target": "ES2021",
- "module": "CommonJS",
- "rootDir": "./src",
- "moduleResolution": "Node",
- // "sourceMap": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "target": "ES2022",
+ "verbatimModuleSyntax": true,
+ "allowJs": true,
+ "resolveJsonModule": true,
+ "moduleDetection": "force",
+ //
+ "strict": true,
+ // "noUncheckedIndexedAccess": true,
+ //
+ "moduleResolution": "NodeNext",
+ "module": "NodeNext",
"outDir": "./dist",
+ "rootDir": "./src",
+ "sourceMap": true,
+ //
"declaration": true,
"removeComments": true,
- "esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
- "strict": true,
"strictFunctionTypes": true,
- "skipLibCheck": true
+ "lib": [
+ "ES2022"
+ ]
},
"include": [
"./src"