Fix type checks in VectorTileSource

Use typeof(Class) instead of defining a typedef for the tile class
This commit is contained in:
William Wall
2018-09-28 09:42:34 -06:00
parent 63f583e148
commit a685e85c10
3 changed files with 5 additions and 13 deletions

View File

@@ -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 {
/**