Closed Farnsi closed 2 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@Farnsi check your other typescript errors. I'm not sure if this is you're problem, but it seems like you should be importing mergeApis in api.ts
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Error:
Property 'getFiles' does not exist on type 'ZodiosInstance<any[]>'.ts(2339)
Example
api.ts
files.ts
test.ts
The request works, only the type error occurs.
When I put
files.ts
content intoapi.ts
everything is ok.@zodios/core: 10.9.6 zod: 3.22.4 typescript: 5.3.3
tsconfig.json