Skip to content

Commit

Permalink
Update FastifyZodOpenApiTypeProvider (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Jun 10, 2024
1 parent 93cb54e commit 1ce801f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ declare module 'openapi-types' {
}

export interface FastifyZodOpenApiTypeProvider extends FastifyTypeProvider {
output: this['input'] extends ZodType ? z.infer<this['input']> : never;
output: this['input'] extends ZodType ? z.infer<this['input']> : unknown;
}

export type FastifyZodOpenApi = FastifyPluginAsync<FastifyZodOpenApiOpts>;
Expand Down

0 comments on commit 1ce801f

Please sign in to comment.