UNPKG

@pkt/utils

Version:

26 lines (25 loc) 309 B
import { SafeAny } from './any'; /** * 字典 * * { * k:v * } */ export interface Dictionary<T = SafeAny> { [key: string]: T; } /** * 字典 * * { * k:{ * k:v * } * } */ export interface DictionaryIncludes<T = SafeAny> { [key: string]: { [key: string]: T; }; }