From 59a2496a319b2448fdc9658fe865a00bd631b621 Mon Sep 17 00:00:00 2001 From: thinknathan Date: Tue, 24 Oct 2023 18:49:41 -0700 Subject: [PATCH] Update tsconfig --- src-electron/tsconfig.json | 2 +- tsconfig.json | 23 +++++------------------ 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/src-electron/tsconfig.json b/src-electron/tsconfig.json index 56ecf95..2231b70 100644 --- a/src-electron/tsconfig.json +++ b/src-electron/tsconfig.json @@ -4,7 +4,7 @@ "compilerOptions": { "lib": ["ES2020"], "module": "node16", - "moduleResolution": "Bundler", + "moduleResolution": "node16", "typeRoots": ["./types/", "../node_modules/@types"] }, "include": ["**/*.ts"] diff --git a/tsconfig.json b/tsconfig.json index 55ac63b..d354431 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,13 +4,8 @@ "allowSyntheticDefaultImports": true, "alwaysStrict": true, "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, "isolatedModules": true, - "lib": [ - "DOM", - "DOM.Iterable", - "ES2020" - ], + "lib": ["DOM", "DOM.Iterable", "ES2020"], "module": "esnext", "moduleResolution": "Bundler", "noEmit": true, @@ -18,17 +13,9 @@ "resolveJsonModule": true, "strict": true, "target": "ES2020", - "typeRoots": [ - "./src-www/scripts/types/", - "./node_modules/@types" - ], + "typeRoots": ["./src-www/scripts/types/", "./node_modules/@types"], "verbatimModuleSyntax": true }, - "include": [ - "./src-www/**/*.ts" - ], - "exclude": [ - "./node_modules", - "./dist" - ] -} \ No newline at end of file + "include": ["./src-www/**/*.ts"], + "exclude": ["./node_modules", "./dist"] +}