1.1.0 • Published 3 years ago

@chaos1ee/axios v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@chaos1ee/axios

Superset of axios.

Easier to set the return type of axios requests

Example:

interface ResponseType {
    foo: string
}

Before

axios.get<unknown, ResponseType>('/something')

After

axios.get<ResponseType>('/something')

Install

yarn add @chaos1ee/axios

Usage

import axios from '@chaos1ee/axios'

axios.get<ResponseType>('/something')
1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago