-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Add tests for type definitions #4134
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
Currently there are not automated tests for axios type definitions. This has lead to breakage in the past, and is likely to cause issues in the future. Also the axios team seems to be hesitant to merge type enhancements, because they don’t have a lot of experience with TypeScript themselves (as far as I could tell).
Describe the solution you'd like
I would like to add automated tests using dtslint. This is the same tool to test types that is used by DefinitelyTyped. An example of what this would look like can be found in JedWatson/classnames#251.
Describe alternatives you've considered
N/A
Additional context
The latest (0.22.0) axios types are broken at the moment of writing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels