Skip to content

Build your personal knowledge base with Trilium Notes

chore(types): fill in gap from jsdom

Elian Doran2a0410f597fc
diff --git a/apps/client/tsconfig.app.json b/apps/client/tsconfig.app.json
index 16b93e1ced..4abc845e41 100644
--- a/apps/client/tsconfig.app.json
+++ b/apps/client/tsconfig.app.json
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
- "lib": [ "ESNext" ],
+ "lib": [ "ESNext", "DOM.Iterable" ],
"outDir": "dist",
"types": [
"node",
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 76d2e73fcc..22906a79fc 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -5,7 +5,7 @@
"emitDeclarationOnly": true,
"importHelpers": true,
"isolatedModules": true,
- "lib": ["ES2023"],
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmitOnError": true,