Skip to content

Commit 7cb78b5

Browse files
committed
refactor: remove unnecessary type assertion
1 parent 70e48cf commit 7cb78b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const $$Function = <TInput extends [z4.ZodType, ...z4.ZodType[]], TOutput
138138
return z4.NEVER;
139139
}
140140
return $Schema.implement(arg as (...args: any[]) => any);
141-
}) as z4.ZodType<(...args: z4.output<z4.ZodTuple<TInput, null>>) => z4.output<TOutput>>;
141+
});
142142
};
143143

144144
export function safeParse<TSchema extends z4.ZodTypeAny>(

0 commit comments

Comments
 (0)