Merge pull request #12416 from ahocevar/eventtype-generics
Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -115,6 +115,7 @@ export class TranslateEvent extends Event {
|
||||
* Interaction for translating (moving) features.
|
||||
*
|
||||
* @fires TranslateEvent
|
||||
* @extends PointerInteraction<'translateend'|'translatestart'|'translating'>
|
||||
* @api
|
||||
*/
|
||||
class Translate extends PointerInteraction {
|
||||
|
||||
Reference in New Issue
Block a user