Add @struct annotation where possible

This commit is contained in:
Tom Payne
2013-12-04 15:44:03 +01:00
parent aa0a02b935
commit 600cb3a0ff
21 changed files with 37 additions and 0 deletions
+2
View File
@@ -36,6 +36,7 @@ goog.require('ol.extent');
* @param {number} height Height.
* @param {Array.<ol.structs.RBushNode.<T>>} children Children.
* @param {?T} value Value.
* @struct
* @template T
*/
ol.structs.RBushNode = function(extent, height, children, value) {
@@ -160,6 +161,7 @@ ol.structs.RBushNode.prototype.isLeaf = function() {
* @constructor
* @param {number=} opt_maxEntries Max entries.
* @see https://github.com/mourner/rbush
* @struct
* @template T
*/
ol.structs.RBush = function(opt_maxEntries) {