(config)
| 49 | } |
| 50 | |
| 51 | function configToObject(config) { |
| 52 | if (typeof config === 'string') { |
| 53 | return { |
| 54 | url: config |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | return Object.assign({}, config) |
| 59 | } |
| 60 | |
| 61 | export function makeUseAxios(configureOptions) { |
| 62 | /** |
no outgoing calls
no test coverage detected
searching dependent graphs…