aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngMock
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngMock')
-rw-r--r--src/ngMock/angular-mocks.js2
1 files changed, 1 insertions, 1 deletions
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) {