Remove extra imports in jsdoc
The symbols are already imported (es6 import)
This commit is contained in:
+4
-4
@@ -78,7 +78,7 @@ class Tile extends EventTarget {
|
||||
|
||||
/**
|
||||
* @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
||||
* @param {import("./TileState.js").default} state State.
|
||||
* @param {TileState} state State.
|
||||
* @param {Options=} opt_options Tile options.
|
||||
*/
|
||||
constructor(tileCoord, state, opt_options) {
|
||||
@@ -93,7 +93,7 @@ class Tile extends EventTarget {
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {import("./TileState.js").default}
|
||||
* @type {TileState}
|
||||
*/
|
||||
this.state = state;
|
||||
|
||||
@@ -214,7 +214,7 @@ class Tile extends EventTarget {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {import("./TileState.js").default} State.
|
||||
* @return {TileState} State.
|
||||
*/
|
||||
getState() {
|
||||
return this.state;
|
||||
@@ -225,7 +225,7 @@ class Tile extends EventTarget {
|
||||
* it is important to set the state correctly to {@link module:ol/TileState~ERROR}
|
||||
* when the tile cannot be loaded. Otherwise the tile cannot be removed from
|
||||
* the tile queue and will block other requests.
|
||||
* @param {import("./TileState.js").default} state State.
|
||||
* @param {TileState} state State.
|
||||
* @api
|
||||
*/
|
||||
setState(state) {
|
||||
|
||||
Reference in New Issue
Block a user