This repository was archived by the owner on Nov 20, 2020. It is now read-only.
This repository was archived by the owner on Nov 20, 2020. It is now read-only.
Props details not propagated when using Pick<Props, 'someProp'> #63
Open
Description
Props information is not propagating when using Pick<>
.
interface ContainerProps {
/** A great description **/
firstProp: string;
/** A better description **/
secondProp: number;
}
type Props = Pick<ContainerProps, 'secondProp'>;
The table lists the props as 'any' with no description, and, strangely, that they're required.
Metadata
Metadata
Assignees
Labels
No labels