We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ac220 commit afb861bCopy full SHA for afb861b
types/index.d.ts
@@ -34,7 +34,7 @@ declare function validate(options: FastifyPluginOptions): any; // fastify
34
export class InputValidationError extends Error {
35
errors: Array<ErrorDetails | string>;
36
37
- constructor(errors: Array<ErrorDetails>, options?: inputValidationOptions)
+ constructor(errors: Array<ErrorDetails | string>, options?: inputValidationOptions)
38
}
39
40
export interface ErrorDetails {
0 commit comments