Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -178,6 +178,7 @@ export class DrawEvent extends Event {
|
||||
* Interaction for drawing feature geometries.
|
||||
*
|
||||
* @fires DrawEvent
|
||||
* @extends PointerInteraction<'drawabort'|'drawend'|'drawstart'>
|
||||
* @api
|
||||
*/
|
||||
class Draw extends PointerInteraction {
|
||||
|
||||
Reference in New Issue
Block a user