Open clintandrewhall opened 5 years ago
Props information is not propagating when using Pick<>.
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.
Props information is not propagating when using
Pick<>
.The table lists the props as 'any' with no description, and, strangely, that they're required.