main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
681 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import axios from './lib/axios.js';
|
---|
| 2 |
|
---|
| 3 | // This module is intended to unwrap Axios default export as named.
|
---|
| 4 | // Keep top-level export same with static properties
|
---|
| 5 | // so that it can keep same with es module or cjs
|
---|
| 6 | const {
|
---|
| 7 | Axios,
|
---|
| 8 | AxiosError,
|
---|
| 9 | CanceledError,
|
---|
| 10 | isCancel,
|
---|
| 11 | CancelToken,
|
---|
| 12 | VERSION,
|
---|
| 13 | all,
|
---|
| 14 | Cancel,
|
---|
| 15 | isAxiosError,
|
---|
| 16 | spread,
|
---|
| 17 | toFormData,
|
---|
| 18 | AxiosHeaders,
|
---|
| 19 | HttpStatusCode,
|
---|
| 20 | formToJSON,
|
---|
| 21 | getAdapter,
|
---|
| 22 | mergeConfig
|
---|
| 23 | } = axios;
|
---|
| 24 |
|
---|
| 25 | export {
|
---|
| 26 | axios as default,
|
---|
| 27 | Axios,
|
---|
| 28 | AxiosError,
|
---|
| 29 | CanceledError,
|
---|
| 30 | isCancel,
|
---|
| 31 | CancelToken,
|
---|
| 32 | VERSION,
|
---|
| 33 | all,
|
---|
| 34 | Cancel,
|
---|
| 35 | isAxiosError,
|
---|
| 36 | spread,
|
---|
| 37 | toFormData,
|
---|
| 38 | AxiosHeaders,
|
---|
| 39 | HttpStatusCode,
|
---|
| 40 | formToJSON,
|
---|
| 41 | getAdapter,
|
---|
| 42 | mergeConfig
|
---|
| 43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.