Core API Overview > @adpt/core > ChildType
ChildType type
Signature:
export declare type ChildType<T> = T extends {
[Name in keyof Required<Children<any>>]: infer Ret;
} ? Ret : T extends {
[Name in keyof Required<Children<any>>]?: infer Ret;
} ? Ret : null;