Skip to content

Commit 98c3ce1

Browse files
authored
Merge pull request #16 from DouglasNeuroInformatics/dev
fix: issue preventing inference of _output in ZodTypeLike in some cases
2 parents 8779a99 + 994a550 commit 98c3ce1

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
@@ -38,7 +38,7 @@ type ZodTypeLike<TOutput, TInput = unknown> = {
3838
[key: string]: any;
3939
readonly _input: TInput;
4040
readonly _output: TOutput;
41-
safeParseAsync: (data: unknown) => Promise<ZodSafeParseResultLike<TOutput>>;
41+
safeParseAsync: (data: unknown) => Promise<ZodSafeParseResultLike<NoInfer<TOutput>>>;
4242
'~standard': {
4343
[key: string]: any;
4444
vendor: string;

0 commit comments

Comments
 (0)