From 5ebd2bbc0f4e5fc1cfc1d69e148dace477ea88e9 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Tue, 14 Jan 2025 13:55:11 +0000 Subject: [PATCH] Explicitly define types --- tsconfig.json | 4 ++-- tsconfig.node.json | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 tsconfig.node.json diff --git a/tsconfig.json b/tsconfig.json index 2e92d60..ed30fb2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "target": "ESNext", "useDefineForClassFields": true, "lib": ["DOM", "DOM.Iterable", "ESNext"], + "types": [], "allowJs": false, "skipLibCheck": true, "esModuleInterop": true, @@ -21,6 +22,5 @@ }, "allowImportingTsExtensions": true }, - "include": ["components/**/*.ts", "components/**/*.tsx"], - "references": [{ "path": "./tsconfig.node.json" }] + "include": ["components/**/*.ts", "components/**/*.tsx"] } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index 9d31e2a..0000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true - }, - "include": ["vite.config.ts"] -}