diff --git a/deno/lib/types.ts b/deno/lib/types.ts index 8606ba0ba..caacc6cd2 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -4852,8 +4852,7 @@ export type ZodFirstPartySchemaTypes = | ZodBranded | ZodPipeline; -// new approach that works for abstract classes -// but requires TS 4.4+ +// requires TS 4.4+ abstract class Class { constructor(..._: any[]) {} } diff --git a/src/types.ts b/src/types.ts index 5a99d04b9..0aadaaf86 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4852,8 +4852,7 @@ export type ZodFirstPartySchemaTypes = | ZodBranded | ZodPipeline; -// new approach that works for abstract classes -// but requires TS 4.4+ +// requires TS 4.4+ abstract class Class { constructor(..._: any[]) {} }