restyped-axios
restyped-axios copied to clipboard
Axios typings for consuming RESTyped APIs
Hey 👋 would be great to update axios to the latest version since it fixes some security issues
I'd really like to see a new version that is actually updated but it seems like this is not going to be maintained anymore (due to the last npm update...
Can you update for compatibility with the latest Axios? (currently 0.18.0) I'm getting into dependency hell and mismatched typings between axios and restyped-axios packages in Typescript.
Hi, this is my first PR here. I hope it helps :) Upgrade dependencies: - "axios": "^0.18.0", - "typescript": "^3.0.3"
After I did `npm install restyped-axios`, Visual Studio Code complained about the `tsconfig.json` file included in the distribution, specifically the fact that `index.ts` could not be found. Deleting the file...
This will allow providing a URL with params provided for a path like '/ex/:id/name' using the generic request method rather than using .put .get etc... In this way the request...
The second parameter of the TypedAxiosInstance `post(...)`, `put(...)` and `patch(...)` methods is always optional now. I would expect giving a body argument to be mandatory. If I want the body...
Because the definitions of `get(…)`, `post(…)`, etc use `Path | string`, invalid paths aren't checked: So, for example, this will compile without issue: ```typescript interface MyAPI { '/foo': {} }...