Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants