mirror of
https://github.com/motajs/template.git
synced 2026-11-28 17:04:30 +08:00
refactor: 数据端用户结构
This commit is contained in:
1 parent
0a133058ca
commit
a0e402728e
41 files changed
+901
-100
No files matched your search
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user