diff --git a/lib/core/InterceptorManager.js b/lib/core/InterceptorManager.js index c3e10ef..5ec97c3 100644 --- a/lib/core/InterceptorManager.js +++ b/lib/core/InterceptorManager.js @@ -28,6 +28,8 @@ InterceptorManager.prototype.use = function use(fulfilled, rejected, options) { * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` + * + * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ InterceptorManager.prototype.eject = function eject(id) { if (this.handlers[id]) { @@ -37,6 +39,8 @@ InterceptorManager.prototype.eject = function eject(id) { /** * Clear all interceptors from the stack + * + * @returns {void} */ InterceptorManager.prototype.clear = function clear() { if (this.handlers) { @@ -51,6 +55,8 @@ InterceptorManager.prototype.clear = function clear() { * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor + * + * @returns {void} */ InterceptorManager.prototype.forEach = function forEach(fn) { utils.forEach(this.handlers, function forEachHandler(h) {