axios

  1. MayoMayn

    [ES6 - axios] - Copying static ES6 class

    I'm trying to create a new axios instance with default params assigned. The baseURL is appended, but not the params: I have a static HTTP class that I clone with options for an axios instance: static create(options: Object = {}): Object { // See comment for class cloning...
Top