Fix type checks in VectorTileSource
Use typeof(Class) instead of defining a typedef for the tile class
This commit is contained in:
@@ -12,12 +12,6 @@ import TileState from './TileState.js';
|
||||
const DEFAULT_EXTENT = [0, 0, 4096, 4096];
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {function(new: VectorTile, import("./tilecoord.js").TileCoord,
|
||||
* TileState, string, ?string, import("./Tile.js").LoadFunction)} TileClass
|
||||
* @api
|
||||
*/
|
||||
|
||||
class VectorTile extends Tile {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user