From 8284f555bf4b33ea156417a9b6d40f4b0a107435 Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Sat, 18 May 2024 14:19:10 +0300 Subject: [PATCH] Fix missing DOM types ref #697 --- tsconfig.app.json | 2 +- tsconfig.node.json | 3 +-- tsconfig.vitest.json | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tsconfig.app.json b/tsconfig.app.json index 5376aaef..93271292 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -9,6 +9,6 @@ "paths": { "@/*": ["./src/*"] }, - "lib": ["es2021"] + "lib": ["es2021", "DOM", "DOM.Iterable"] } } diff --git a/tsconfig.node.json b/tsconfig.node.json index 8b65c67f..dee96bed 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -11,7 +11,6 @@ "composite": true, "module": "ESNext", "moduleResolution": "Bundler", - "types": ["node"], - "lib": ["es2021"] + "types": ["node"] } } diff --git a/tsconfig.vitest.json b/tsconfig.vitest.json index cf2377fe..3c4324a2 100644 --- a/tsconfig.vitest.json +++ b/tsconfig.vitest.json @@ -4,6 +4,7 @@ "exclude": [], "compilerOptions": { "composite": true, - "types": ["node", "jsdom"] + "lib": [], + "types": ["node", "jsdom"], } }