Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of .shape() and Typescript failure #296

Closed
Borales opened this issue Oct 29, 2019 · 2 comments
Closed

Validation of .shape() and Typescript failure #296

Borales opened this issue Oct 29, 2019 · 2 comments
Labels

Comments

@Borales
Copy link

Borales commented Oct 29, 2019

I have a problem with prop-types when working with TypeScript.

Screenshot 2019-10-29 at 12 44 44

Here's an example - https://codesandbox.io/s/prop-types-ts-validation-failure-f1h4n


Not really sure if it relates to #293 somehow.

@ljharb
Copy link
Collaborator

ljharb commented Oct 29, 2019

This seems related to your InferProps type more than anything else; this repo has no TS or types.

@Borales
Copy link
Author

Borales commented Oct 29, 2019

@ljharb sorry, my bad (wrong repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants