Make sure that optional args are typed accordingly

This commit is contained in:
Andreas Hocevar
2020-02-20 12:39:31 +01:00
parent d6eb66f083
commit 608d515f1f
5 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ export class CollectionEvent extends Event {
/**
* @param {CollectionEventType} type Type.
* @param {*=} opt_element Element.
* @param {number} opt_index The index of the added or removed element.
* @param {number=} opt_index The index of the added or removed element.
*/
constructor(type, opt_element, opt_index) {
super(type);