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

The ISchema interface is missing declarations for isValid and isValidSync. #2182

Open
oarodrig opened this issue Mar 8, 2024 · 0 comments
Open

Comments

@oarodrig
Copy link

oarodrig commented Mar 8, 2024

Describe the bug
The ISchema interface is missing the isValid and isValidSync methods. This makes functions like reach harder to use, as those methods can't be called on the resulting ISchema. I think it makes sense for both of those methods to be present on the interface.

To Reproduce

See https://codesandbox.io/p/sandbox/zealous-bird-wvyxzt?file=%2Fsrc%2Findex.test.ts

Expected behavior
isValid and isValidSync are available for use from the ISchema interface.

Platform (please complete the following information):

  • Browser - Firefox
  • Version - 123.0.1 (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant