@magnetarjs/types
Version:
Magnetar shared types
11 lines (10 loc) • 344 B
JavaScript
export {};
// type Test = {
// a: { b: { c: { d: number; e: number } }; inA: string }
// x: string[]
// y: { name: string } | undefined
// z: { [key in string]: { zzz: number[] } }
// z123: { a123: { [key in string]: { zzz: number[] } } }
// }
// export type FlatTestPaths = OPaths<Test>
// export type FlatTestLeaves = OLeaves<Test>