Add @struct annotation for simple classes

This commit is contained in:
Tom Payne
2013-12-04 15:44:03 +01:00
parent 2bcfa9ee00
commit fbc23499e4
19 changed files with 31 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ goog.require('goog.object');
* @constructor
* @param {function(T): number} priorityFunction Priority function.
* @param {function(T): string} keyFunction Key function.
* @struct
* @template T
*/
ol.structs.PriorityQueue = function(priorityFunction, keyFunction) {