Merge pull request #12416 from ahocevar/eventtype-generics
Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -177,6 +177,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