Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
This reverts commitb6c143deb2, reversing changes made to7777821df5.
This commit is contained in:
committed by
Andreas Hocevar
parent
a2f441715b
commit
c8f43050c4
@@ -41,8 +41,6 @@ import {removeNode} from '../dom.js';
|
||||
* You can also extend this base for your own control class. See
|
||||
* examples/custom-controls for an example of how to do this.
|
||||
*
|
||||
* @template {string} EventTypes
|
||||
* @extends BaseObject<EventTypes>
|
||||
* @api
|
||||
*/
|
||||
class Control extends BaseObject {
|
||||
|
||||
@@ -66,7 +66,6 @@ const FullScreenEventType = {
|
||||
*
|
||||
* @fires FullScreenEventType#enterfullscreen
|
||||
* @fires FullScreenEventType#leavefullscreen
|
||||
* @extends Control<'enterfullscreen'|'leavefullscreen'>
|
||||
* @api
|
||||
*/
|
||||
class FullScreen extends Control {
|
||||
|
||||
@@ -49,7 +49,6 @@ const COORDINATE_FORMAT = 'coordinateFormat';
|
||||
* On touch devices, which usually do not have a mouse cursor, the coordinates
|
||||
* of the currently touched position are shown.
|
||||
*
|
||||
* @extends Control<'change:coordinaetFormat'|'change:projection'>
|
||||
* @api
|
||||
*/
|
||||
class MousePosition extends Control {
|
||||
|
||||
@@ -68,7 +68,6 @@ const DEFAULT_DPI = 25.4 / 0.28;
|
||||
* When specifying `bar` as `true`, a scalebar will be rendered instead
|
||||
* of a scaleline.
|
||||
*
|
||||
* @extends Control<'change:units'>
|
||||
* @api
|
||||
*/
|
||||
class ScaleLine extends Control {
|
||||
|
||||
Reference in New Issue
Block a user