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