增加了一个OtmKey的定义,暂时没用上

This commit is contained in:
Xu Chang 2023-05-06 17:17:23 +08:00
parent ccce584a17
commit c9e8825af1
2 changed files with 4 additions and 0 deletions

View File

@ -181,4 +181,5 @@ export declare type Configuration = {
actionType?: ActionType;
static?: boolean;
};
export declare type OtmKey<K extends string> = K | `${K}$${number}`;
export {};

View File

@ -257,3 +257,6 @@ export type Configuration = {
actionType?: ActionType;
static?: boolean; // 标识是维表(变动较小,相对独立)
};
// 一对多的键值的扩展
export type OtmKey<K extends string> = K | `${K}$${number}`;