From 48cc306a2dc6f69f16695e84bc22ee78d8c9d374 Mon Sep 17 00:00:00 2001 From: Gugu8 Date: Mon, 7 Sep 2026 12:10:15 +1200 Subject: [PATCH] Update TypeScript configuration options --- tsconfig.base.json | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index 8387b48052..72eebae8a9 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,18 +1,30 @@ { "compilerOptions": { "target": "ES2022", - "lib": ["ES2023", "DOM"], - "module": "esnext", - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "noEmit": true, + "lib": ["ES2023"], + + "module": "NodeNext", + "moduleResolution": "NodeNext", "strict": true, "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + "exactOptionalPropertyTypes": true, - "esModuleInterop": true, + "verbatimModuleSyntax": true, "isolatedModules": true, + + "forceConsistentCasingInFileNames": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true - } + + "declaration": true, + "declarationMap": true, + + "outDir": "dist", + "rootDir": "src" + }, + "include": ["src/**/*.ts"], + "exclude": ["node_modules", "dist"] }