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