ntt-flow
Version:
The sequence of initialization, modification, aggregation, or other processes through which a data entity passes from instantiation to persistence.
23 lines (22 loc) • 774 B
TypeScript
declare type Content = SimpleObject | ValueType;
declare interface FlatArray extends Array<ValueType> {
}
declare interface FlatObject {
[key: string]: FlatArray | ValueType;
}
declare type Key = number | string;
declare type KeyPath = Iterable<Key>;
declare type Omit<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
declare interface SimpleArray extends Array<SimpleObject | ValueType> {
}
declare interface SimpleObject {
[key: string]: SimpleArray | SimpleObject | ValueType;
}
declare type Stringify<T> = {
[K in keyof T]: string;
};
declare type ValueType = boolean | Date | number | string | symbol;
declare interface Vector extends Array<number> {
}
declare interface Matrix extends Array<Vector> {
}