Revert "Merge pull request #12416 from ahocevar/eventtype-generics"

This reverts commit b6c143deb2, reversing
changes made to 7777821df5.
This commit is contained in:
Simon Seyock
2021-06-21 17:20:04 +02:00
committed by Andreas Hocevar
parent a2f441715b
commit c8f43050c4
30 changed files with 7 additions and 49 deletions
-1
View File
@@ -82,7 +82,6 @@ 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
-1
View File
@@ -103,7 +103,6 @@ export class DragBoxEvent extends Event {
* {@link module:ol/interaction/DragRotateAndZoom}).
*
* @fires DragBoxEvent
* @extends PointerInteraction<'boxcancel'|'boxdrag'|'boxend'>
* @api
*/
class DragBox extends PointerInteraction {
-1
View File
@@ -177,7 +177,6 @@ export class DrawEvent extends Event {
* Interaction for drawing feature geometries.
*
* @fires DrawEvent
* @extends PointerInteraction<'drawabort'|'drawend'|'drawstart'>
* @api
*/
class Draw extends PointerInteraction {
-1
View File
@@ -81,7 +81,6 @@ export class ExtentEvent extends Event {
* This interaction is only supported for mouse devices.
*
* @fires ExtentEvent
* @extends PointerInteraction<'extentchanged'>
* @api
*/
class Extent extends PointerInteraction {
-3
View File
@@ -27,9 +27,6 @@ import {easeOut, linear} from '../easing.js';
* by a keyboard event not a button element event.
* Although interactions do not have a DOM element, some of them do render
* vectors and so are visible on the screen.
*
* @template {string} EventTypes
* @extends BaseObject<EventTypes|'change:active'>
* @api
*/
class Interaction extends BaseObject {
-1
View File
@@ -183,7 +183,6 @@ export class ModifyEvent extends Event {
* key is pressed. To configure the interaction with a different condition
* for deletion, use the `deleteCondition` option.
* @fires ModifyEvent
* @extends PointerInteraction<'modifyend'|'modifystart'>
* @api
*/
class Modify extends PointerInteraction {
-3
View File
@@ -41,9 +41,6 @@ import {getValues} from '../obj.js';
* started. During a drag sequence the `handleDragEvent` user function is
* called on `move` events. The drag sequence ends when the `handleUpEvent`
* user function is called and returns `false`.
*
* @template {string} EventTypes
* @extends Interaction<EventTypes>
* @api
*/
class PointerInteraction extends Interaction {
-1
View File
@@ -147,7 +147,6 @@ const originalFeatureStyles = {};
* Selected features are added to an internal unmanaged layer.
*
* @fires SelectEvent
* @extends Interaction<'select'>
* @api
*/
class Select extends Interaction {
-1
View File
@@ -115,7 +115,6 @@ export class TranslateEvent extends Event {
* Interaction for translating (moving) features.
*
* @fires TranslateEvent
* @extends PointerInteraction<'translateend'|'translatestart'|'translating'>
* @api
*/
class Translate extends PointerInteraction {