Skip to content

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

:bug: 修复 IObject 类型过窄导致的 TS2322 #18034

Danielb1dbfce830a4
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index bf50b76b6b..f9cf827351 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -675,7 +675,7 @@ interface IOperationSrcs {
}
interface IObject {
- [key: string]: string;
+ [key: string]: string | number | boolean;
}
interface ILayoutJSON extends ILayoutOptions {