diff options
| -rw-r--r-- | src/ng/interval.js | 2 | ||||
| -rw-r--r-- | src/ngMock/angular-mocks.js | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/src/ng/interval.js b/src/ng/interval.js index 9857860d..1a460e24 100644 --- a/src/ng/interval.js +++ b/src/ng/interval.js @@ -168,7 +168,7 @@ function $IntervalProvider() {        * @description        * Cancels a task associated with the `promise`.        * -      * @param {number} promise Promise returned by the `$interval` function. +      * @param {promise} promise returned by the `$interval` function.        * @returns {boolean} Returns `true` if the task was successfully canceled.        */      interval.cancel = function(promise) { diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index 413e0aae..6a60d9bb 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -498,7 +498,7 @@ angular.mock.$IntervalProvider = function() {       * @description       * Cancels a task associated with the `promise`.       * -     * @param {number} promise A promise from calling the `$interval` function. +     * @param {promise} promise A promise from calling the `$interval` function.       * @returns {boolean} Returns `true` if the task was successfully cancelled.       */      $interval.cancel = function(promise) { | 
