Skip to content

Documentation / @andrew_l/app / ExtractPropTypes

Type Alias: ExtractPropTypes<O> ​

ExtractPropTypes<O> = { [K in keyof Pick<O, RequiredKeys<O>>]: InferPropType<O[K]> } & { [K in keyof Pick<O, OptionalKeys<O>>]?: InferPropType<O[K]> }

Resolve the concrete prop value types from an ObjectPropsOptions declaration.

Type Parameters ​

O ​

O