Updated tsconfig.json and edited all required files to work with it
This commit is contained in:
@ -1,24 +1,27 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Enable latest features
|
||||
"lib": ["ESNext"],
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"noImplicitAny": true,
|
||||
"isolatedModules": true,
|
||||
"sourceMap": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
// Base options
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"allowJs": true,
|
||||
"resolveJsonModule": true,
|
||||
"moduleDetection": "force",
|
||||
"isolatedModules": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"lib": ["es2022"],
|
||||
"target": "es2022",
|
||||
|
||||
// Output
|
||||
// Strictness
|
||||
"strict": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noImplicitOverride": true,
|
||||
|
||||
// Transpiling with TypeScript
|
||||
"module": "NodeNext",
|
||||
"baseUrl": "./src",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"sourceMap": true,
|
||||
|
||||
"paths": {
|
||||
"#root/*": ["./*"],
|
||||
@ -39,7 +42,6 @@
|
||||
"typeRoots": ["./node_modules/@types"],
|
||||
|
||||
// Other options
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
|
Reference in New Issue
Block a user