Skip to content

Commit 90ecc97

Browse files
authored
Merge pull request #69 from samchungy/fix-typescript-error
Fix Typescript 4.9 Error
2 parents a6f5681 + b806bb0 commit 90ecc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zod-extensions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare module 'zod' {
2727
openapi?: ZodOpenApiFullMetadata;
2828
}
2929

30-
abstract class ZodSchema<Output, Def extends ZodTypeDef, Input = Output> {
30+
interface ZodSchema<Output, Def extends ZodTypeDef, Input = Output> {
3131
openapi<T extends ZodSchema<any>>(
3232
this: T,
3333
metadata: Partial<ZodOpenAPIMetadata<z.infer<T>>>

0 commit comments

Comments
 (0)