Better type definition
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
This commit is contained in:
@@ -46,7 +46,7 @@ const PriorityQueue = function(priorityFunction, keyFunction) {
|
||||
this.priorities_ = [];
|
||||
|
||||
/**
|
||||
* @type {Object.<string, boolean>}
|
||||
* @type {!Object.<string, boolean>}
|
||||
* @private
|
||||
*/
|
||||
this.queuedElements_ = {};
|
||||
|
||||
Reference in New Issue
Block a user