We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75fd765 commit 814ae4eCopy full SHA for 814ae4e
1 file changed
apps/web/src/utils/upload.ts
@@ -657,7 +657,7 @@ export namespace Zod4 {
657
658
function interpetZodConvertResult(convertResult: ZodConvertResult, entry: string): unknown {
659
if (entry === '' && convertResult.isOptional) {
660
- return { success: true, value: undefined };
+ return undefined;
661
}
662
switch (convertResult.typeName) {
663
case 'array':
0 commit comments