Create 'type' annotation for 'const' variables

From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
This commit is contained in:
Frederic Junod
2014-01-09 09:53:18 +01:00
parent 73fcff641e
commit 9f79d33486
8 changed files with 32 additions and 16 deletions

View File

@@ -56,7 +56,8 @@ ol.structs.PriorityQueue = function(priorityFunction, keyFunction) {
/**
* @const {number}
* @const
* @type {number}
*/
ol.structs.PriorityQueue.DROP = Infinity;