In /src/gen/hooks/stepsHooks/useGetStep.ts, observe this typescript error:
useGetStep.ts 44 17 error 4058 Return type of exported function has or is using name 'RawAxiosHeaders' from external module "/node_modules/axios/index" but cannot be named. (lsp)
What version of
kubb
is running?3.05
What platform is your computer?
linux
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)tanstack query: 5.51.23, react: 18,
What steps can reproduce the bug?
Integrate this into an
openapi.json
file:Follow a config similar to this:
Generate.
In
/src/gen/hooks/stepsHooks/useGetStep.ts
, observe this typescript error:On this function:
How often does this bug happen?
Every time
What is the expected behavior?
No typescript errors :)
Swagger/OpenAPI file?
Shown above.
Additional information
No response