T

LooseProps

Generated component props made safe to pass: every known prop is optional and checked only where its type is concrete, and any other prop is allowed, since the generator can miss props or mark a defaulted one required.

type LooseProps<P> = { [K in keyof P]?: LoosePropValue<P[K]> } & Record<string, unknown>