We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eaf9ed commit e785b99Copy full SHA for e785b99
1 file changed
apps/web/src/features/upload/utils.ts
@@ -76,7 +76,7 @@ function isZodSetDef(def: AnyZodTypeDef): def is z.ZodSetDef {
76
}
77
78
function isZodArrayDef(def: AnyZodTypeDef): def is z.ZodArrayDef {
79
- return def.typeName === 'ZodArray';
+ return def.typeName === z.ZodFirstPartyTypeKind.ZodArray;
80
81
82
// TODO - fix extract set and record array functions to handle whitespace and trailing semicolon (present or included)
0 commit comments