Skip to content
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
@clintandrewhall

Description

@clintandrewhall

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.

Screen Shot 2019-09-25 at 2 37 20 PM
Screen Shot 2019-09-25 at 2 37 32 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions