Zod why error
My code:
error
Argument type {summary: string, path: string, request: {query: ZodObject<{before: ZodOptional<ZodString>, limit: ZodOptional<ZodString>, after: ZodOptional<ZodString>, order: ZodOptional<ZodString>}, "strip", ZodTypeAny, {[k in keyof objectUtil.addQuestionMarks<baseObjectOutputType<{before: ..., limit: ..., after: ..., order: ...}>, any>]: objectUtil.addQuestionMarks<baseObjectOutputType<{before: ..., limit: ..., after: ..., order: ...}>, any>[k]}, {[k_1 in keyof baseObjectInputType<{before: ..., limit: ..., after: ..., order: ...}>]: baseObjectInputType<{before: ..., limit: ..., after: ..., order: ...}>[k_1]}>}, security: {Basic: any[]}[], method: any, responses: {200: {description: string, content: {"application/json": {schema: ...}}}}, tags: string[]} & {getRoutingPath(): RoutingPath<string>} is not assignable to parameter type RouteConfig
why i recive error ?
2 Replies
code works by i recive error in phpstorm
I hack this
Can you share a quick reproduction for this single route?