From dea1c9c41e6163985cb150a88fd3d80a867c908b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 9 Jul 2023 23:24:06 +0100 Subject: [PATCH] Updates TypeScript config, to be stricter --- tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 0bc71c8..947bbc1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,9 @@ { "compilerOptions": { - "target": "es5", - "lib": [ "dom", "dom.iterable", "esnext" ], + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "node", + "lib": ["DOM", "DOM.Iterable", "ES2020"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -9,8 +11,6 @@ "strict": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, - "module": "esnext", - "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true,