Fix type syntax
This commit is contained in:
@@ -23,21 +23,21 @@ const LinkedList = function(opt_circular) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {module:ol/structs/LinkedList~Item}|undefined}
|
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||||
*/
|
*/
|
||||||
this.first_ = undefined;
|
this.first_;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {module:ol/structs/LinkedList~Item}|undefined}
|
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||||
*/
|
*/
|
||||||
this.last_ = undefined;
|
this.last_;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {module:ol/structs/LinkedList~Item}|undefined}
|
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||||
*/
|
*/
|
||||||
this.head_ = undefined;
|
this.head_;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
@@ -59,7 +59,7 @@ const LinkedList = function(opt_circular) {
|
|||||||
*/
|
*/
|
||||||
LinkedList.prototype.insertItem = function(data) {
|
LinkedList.prototype.insertItem = function(data) {
|
||||||
|
|
||||||
/** @type {module:ol/structs/LinkedList~Item}} */
|
/** @type {module:ol/structs/LinkedList~Item} */
|
||||||
const item = {
|
const item = {
|
||||||
prev: undefined,
|
prev: undefined,
|
||||||
next: undefined,
|
next: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user