From f1898f849208ed932588945fb4467a9cf7073336 Mon Sep 17 00:00:00 2001 From: George Needham <34216187+Peter-MJ-Parker@users.noreply.github.com> Date: Sun, 11 Jun 2023 10:51:23 -0500 Subject: [PATCH] refactor: fix tsconfigs to support typescript 5.0 --- template-ts-esm/tsconfig.json | 28 ++++++++++++++-------------- template-ts/tsconfig.json | 1 - 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/template-ts-esm/tsconfig.json b/template-ts-esm/tsconfig.json index 4f0157c..25e2f20 100644 --- a/template-ts-esm/tsconfig.json +++ b/template-ts-esm/tsconfig.json @@ -1,16 +1,16 @@ { - "compilerOptions": { - "resolveJsonModule": true, - "target": "ESNext", - "module": "ESNext", - "outDir": "dist", - "rootDir": "src", - "strict": true, - "esModuleInterop": true, - "noImplicitAny": true, - "strictNullChecks": true, - "importsNotUsedAsValues": "error", - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true - } + "compilerOptions": { + "moduleResolution": "nodenext", + "resolveJsonModule": true, + "target": "ESNext", + "module": "ESNext", + "outDir": "dist", + "rootDir": "src", + "strict": true, + "esModuleInterop": true, + "noImplicitAny": true, + "strictNullChecks": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true + } } diff --git a/template-ts/tsconfig.json b/template-ts/tsconfig.json index c87a775..7da08ce 100644 --- a/template-ts/tsconfig.json +++ b/template-ts/tsconfig.json @@ -9,7 +9,6 @@ "esModuleInterop": true, "noImplicitAny": true, "strictNullChecks": true, - "importsNotUsedAsValues": "error", "skipLibCheck": true, "forceConsistentCasingInFileNames": true }