Skip to content

Commit 7d4ddbb

Browse files
committed
zod type edit
1 parent 5369bad commit 7d4ddbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/zodRoute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export interface ZodState<
153153
B extends BodyFormat,
154154
P extends Record<string, z.ZodType<any, string | undefined>>,
155155
Q extends Record<string, z.ZodType<any, string[] | undefined>>,
156-
T extends z.ZodTypeAny
156+
T extends z.ZodType
157157
> extends ServerRequest<B, M, z.output<T>> {
158158
pathParams: z.output<z.ZodObject<P, core.$strict>> & Record<string, any>;
159159
queryParams: z.output<z.ZodObject<Q, core.$strict>> & Record<string, any>;

0 commit comments

Comments
 (0)