We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
core
4.1.1
The type ErrorSchema is non deterministic
import { ErrorSchema } from '@rjsf/core' const errorSchema: ErrorSchema = { __errors: [ 'This field is required' ] }
raises the following compile error Type 'string' is not assignable to type 'ErrorSchema'
Type 'string' is not assignable to type 'ErrorSchema'
The ErrorSchema type should be deterministic so it's usable when typing field components and testing those types
No response
- OS: - Node: - npm:
The text was updated successfully, but these errors were encountered:
Fixed in the v5 beta, see the 5.x migration guide
Sorry, something went wrong.
epicfaace
jacqueswho
heath-freenome
No branches or pull requests
Prerequisites
What theme are you using?
core
Version
4.1.1
Current Behavior
The type ErrorSchema is non deterministic
raises the following compile error
Type 'string' is not assignable to type 'ErrorSchema'
Expected Behavior
The ErrorSchema type should be deterministic so it's usable when typing field components and testing those types
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: