Skip to content

Commit 6dad907

Browse files
committedMar 7, 2023
Comments
1 parent 22f3cc6 commit 6dad907

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎deno/lib/types.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4852,8 +4852,7 @@ export type ZodFirstPartySchemaTypes =
48524852
| ZodBranded<any, any>
48534853
| ZodPipeline<any, any>;
48544854

4855-
// new approach that works for abstract classes
4856-
// but requires TS 4.4+
4855+
// requires TS 4.4+
48574856
abstract class Class {
48584857
constructor(..._: any[]) {}
48594858
}

‎src/types.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4852,8 +4852,7 @@ export type ZodFirstPartySchemaTypes =
48524852
| ZodBranded<any, any>
48534853
| ZodPipeline<any, any>;
48544854

4855-
// new approach that works for abstract classes
4856-
// but requires TS 4.4+
4855+
// requires TS 4.4+
48574856
abstract class Class {
48584857
constructor(..._: any[]) {}
48594858
}

0 commit comments

Comments
 (0)
Please sign in to comment.