From 48e7310a43a5f13653c03c9806d136d4468bdc83 Mon Sep 17 00:00:00 2001 From: Philipp Kant Date: Mon, 18 Nov 2024 16:40:22 +0100 Subject: [PATCH] Fix outdir in tsconfig.json --- tsconfig.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index b23aec7..4d22e21 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,23 @@ { "compilerOptions": { + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "incremental": true, + "lib": ["DOM", "ES2022"], + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUncheckedIndexedAccess": true, + "outDir": "target", + "resolveJsonModule": true, + "skipLibCheck": true, + "strictBindCallApply": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "typeRoots": ["node_modules/@types"], + "rootDir": ".", - "outDir": "dist", "baseUrl": ".", // affects where output files end up "target": "es2021", // goal: ship *the most modern syntax* that is supported by *all* browsers that support our Wasm "module": "nodenext", // allow top-level await