//#region src/types/global.d.ts /** * @public */ type PropertyName = keyof any; /** * @public */ interface Dictionary { [index: string]: T; } /** * @public */ type ObjectIterator = (value: T[keyof T], key: keyof T, obj: T) => TResult; /** * 空白字符的联合类型 * @public */ type SpaceString = ' ' | '\t' | '\n'; /** * @public */ type AnyFunction = (...args: any) => any; /** * @public */ type AnyConstructor = new (...args: any) => any; /** * @public */ type Tuple = readonly T[]; /** * @public */ type AnyObject = Record; //#endregion export { AnyConstructor, AnyFunction, AnyObject, Dictionary, ObjectIterator, PropertyName, SpaceString, Tuple };