Export all the Event sub class

Actually only some are exported

This is useful to type the received events
This commit is contained in:
Stéphane Brunner
2020-09-25 11:04:23 +02:00
parent 705e328fa0
commit 23e5c7ced8
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ const SelectEventType = {
* Events emitted by {@link module:ol/interaction/Select~Select} instances are instances of
* this type.
*/
class SelectEvent extends Event {
export class SelectEvent extends Event {
/**
* @param {SelectEventType} type The event type.
* @param {Array<import("../Feature.js").default>} selected Selected features.