export type ChildObject = { children?: ChildObject[]; } & T;