Export all the Event sub class
Actually only some are exported This is useful to type the received events
This commit is contained in:
@@ -39,7 +39,7 @@ const DragAndDropEventType = {
|
||||
* Events emitted by {@link module:ol/interaction/DragAndDrop~DragAndDrop} instances are instances
|
||||
* of this type.
|
||||
*/
|
||||
class DragAndDropEvent extends Event {
|
||||
export class DragAndDropEvent extends Event {
|
||||
/**
|
||||
* @param {DragAndDropEventType} type Type.
|
||||
* @param {File} file File.
|
||||
|
||||
Reference in New Issue
Block a user