refactor: 数据端用户结构

This commit is contained in:
AncTe committed 2026-10-16 17:29:51 +08:00
1 parent 0a133058ca
commit a0e402728e
41 files changed
+901 -100

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export interface IFlagSystem extends ISaveableContent<IFlagSystemSave> {
* @param field 字段名称
* @param defaultValue 字段默认值函数
*/
getOrInsertComputed<K extends PropertyKey, T>(
getOrInsertComputed<T, K extends PropertyKey = PropertyKey>(
field: K,
defaultValue: (field: K) => T
): IFlagCommonField<T>;