Add CombinedOnSignature.

This commit is contained in:
Simon Seyock
2021-06-23 17:29:33 +02:00
committed by Andreas Hocevar
parent 25a095e489
commit 1870a64984
25 changed files with 85 additions and 32 deletions

View File

@@ -83,6 +83,11 @@ const Property = {
POSITIONING: 'positioning',
};
/**
* @typedef {import("./ObjectEventType").Types|'change:element'|'change:map'|'change:offset'|'change:position'|
* 'change:positioning'} OverlayObjectEventTypes
*/
/**
* @classdesc
* An element to be displayed over the map and attached to a single map
@@ -112,8 +117,8 @@ class Overlay extends BaseObject {
/***
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
* import("./Observable").OnSignature<import("./ObjectEventType").Types|
* 'change:element'|'change:map'|'change:offset'|'change:position'|'change:positioning', import("./Object").ObjectEvent>}
* import("./Observable").OnSignature<OverlayObjectEventTypes, import("./Object").ObjectEvent> &
* import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|OverlayObjectEventTypes>}
*/
this.on;