type
WithoutChildren
type WithoutChildren<T> = T extends { children?: any } ? Omit<T, "children"> : TRemove a children snippet property when present.
type
type WithoutChildren<T> = T extends { children?: any } ? Omit<T, "children"> : TRemove a children snippet property when present.