Use generics to limit event types in on(), once() and un()
This commit is contained in:
@@ -50,6 +50,7 @@ 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 {
|
||||
|
||||
Reference in New Issue
Block a user