We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a844138 commit f827a8eCopy full SHA for f827a8e
src/ng/interval.js
@@ -174,7 +174,7 @@ function $IntervalProvider() {
174
* @description
175
* Cancels a task associated with the `promise`.
176
*
177
- * @param {promise} promise returned by the `$interval` function.
+ * @param {Promise=} promise returned by the `$interval` function.
178
* @returns {boolean} Returns `true` if the task was successfully canceled.
179
*/
180
interval.cancel = function(promise) {
0 commit comments