Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -45,7 +45,7 @@ import {assign} from '../obj.js';
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
* @template {import("../source/Tile.js").default} TileSourceType
|
||||
* @extends {Layer<TileSourceType>}
|
||||
* @extends Layer<TileSourceType,'preload'|'useInterimTilesOnError'>
|
||||
* @api
|
||||
*/
|
||||
class BaseTileLayer extends Layer {
|
||||
|
||||
Reference in New Issue
Block a user