Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -40,6 +40,8 @@ import {get as getProjection} from '../proj.js';
|
||||
* Base class for {@link module:ol/layer/Layer~Layer} sources.
|
||||
*
|
||||
* A generic `change` event is triggered when the state of the source changes.
|
||||
* @template {string} EventTypes
|
||||
* @extends BaseObject<EventTypes>
|
||||
* @abstract
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user