diff --git a/lib/core/Axios.js b/lib/core/Axios.js index ef7e810..54834e8 100644 --- a/lib/core/Axios.js +++ b/lib/core/Axios.js @@ -13,6 +13,8 @@ var validators = validator.validators; * Create a new instance of Axios * * @param {Object} instanceConfig The default config for the instance + * + * @return {Axios} A new instance of Axios */ function Axios(instanceConfig) { this.defaults = instanceConfig; @@ -27,6 +29,8 @@ function Axios(instanceConfig) { * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config + * + * @returns {Promise} The Promise to be fulfilled */ Axios.prototype.request = function request(configOrUrl, config) { /*eslint no-param-reassign:0*/