Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Align declaration libraries with ES2021 https://github.com/siyuan-note/siyuan/issues/20281

Daniel3c7d40939fee
diff --git a/app/tsconfig.json b/app/tsconfig.json
index 47999d51a6..e0d71ed99c 100644
--- a/app/tsconfig.json
+++ b/app/tsconfig.json
@@ -4,6 +4,7 @@
"noImplicitAny": true,
"module": "commonjs",
"target": "es6",
+ "lib": ["ES2021", "DOM", "DOM.Iterable"],
"typeRoots": [
"./node_modules/@types"
],