Transformed types
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e): jscodeshift --transform ts.js src
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
/**
|
||||
* @typedef {Object} Item
|
||||
* @property {module:ol/structs/LinkedList~Item} [prev]
|
||||
* @property {module:ol/structs/LinkedList~Item} [next]
|
||||
* @property {Item} [prev]
|
||||
* @property {Item} [next]
|
||||
* @property {?} data
|
||||
*/
|
||||
|
||||
@@ -24,19 +24,19 @@ class LinkedList {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||
* @type {Item|undefined}
|
||||
*/
|
||||
this.first_;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||
* @type {Item|undefined}
|
||||
*/
|
||||
this.last_;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {module:ol/structs/LinkedList~Item|undefined}
|
||||
* @type {Item|undefined}
|
||||
*/
|
||||
this.head_;
|
||||
|
||||
@@ -61,7 +61,7 @@ class LinkedList {
|
||||
*/
|
||||
insertItem(data) {
|
||||
|
||||
/** @type {module:ol/structs/LinkedList~Item} */
|
||||
/** @type {Item} */
|
||||
const item = {
|
||||
prev: undefined,
|
||||
next: undefined,
|
||||
@@ -227,7 +227,7 @@ class LinkedList {
|
||||
|
||||
/**
|
||||
* Concatenates two lists.
|
||||
* @param {module:ol/structs/LinkedList} list List to merge into the current list.
|
||||
* @param {import("./LinkedList.js").default} list List to merge into the current list.
|
||||
*/
|
||||
concat(list) {
|
||||
if (list.head_) {
|
||||
|
||||
Reference in New Issue
Block a user