Skip to content

Add tests for type definitions #4134

@remcohaszing

Description

@remcohaszing

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions