Closed ygpark80 closed 2 months ago
Start a new pull request in StackBlitz Codeflow.
Hey @ygpark80, this is what I'm seeing. How do I get to the error you reported?
Run npm run generate
to generate the sources, and then run npm run build
.
Thanks, I see. Let me look into this, I just switched the type generator step and broke this in the process
Same issue with @hey-api/client-axios in 0.2.5
And editing client-axios/dist/index.d.ts by adding an export
line 72 before the interface seems to fix
// Previous code
export interface Client {
// Remaining of the client
I also has similar issues. I needed to export the following interfaces for code to compile:
Client
, QuerySerializerOptions
and RequestOptionsBase
.
Wow, thanks a lot! I’ve confirmed that it’s working.
No worries, that's my fault! I should add tests with different configurations as it doesn't always throw depending on your tsconfig.json
Description
For
@hey-api/client-fetch
version 0.3.2, I get the following error when building:This error does not occur in version 0.3.1.
Reproducible example or configuration
https://stackblitz.com/edit/stackblitz-starters-kx7wy2
OpenAPI specification (optional)
3.0.1
System information (optional)
No response