Use generics to limit event types in on(), once() and un()

This commit is contained in:
Andreas Hocevar
2021-06-20 20:22:53 +02:00
parent cf7213c5cb
commit 018ad97f25
30 changed files with 49 additions and 7 deletions
+1
View File
@@ -82,6 +82,7 @@ export class DragAndDropEvent extends Event {
* combinnation of formats read both text string and ArrayBuffer sources. Older browsers such
* as IE which do not support this will need a TextDecoder polyfill to be loaded before use.
*
* @extends Interaction<'addfeatures'>
* @api
*
* @fires DragAndDropEvent