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
Record<any, any>
Incorrectly parsing Record<any, any>, while works with Record<number, string>
const schema = TypeCompiler.Compile( Type.Object({ prop: Type.Optional(Type.Record(Type.Any(), Type.Any())), }) ); JSON.stringify([ ...schema.Errors({ prop: { a: 1, b: 1 } }), ]); // Output // [{"type":33,"schema":{"not":{}},"path":"/prop","value":{"a":1,"b":1},"message":"Never"}]
https://stackblitz.com/edit/vitejs-vite-1bhkml?file=counter.js&terminal=dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Incorrectly parsing Record<any, any>, while works with Record<number, string>
https://stackblitz.com/edit/vitejs-vite-1bhkml?file=counter.js&terminal=dev
The text was updated successfully, but these errors were encountered: