Add on signatures for BaseObject and Observable.
This commit is contained in:
committed by
Andreas Hocevar
parent
7701ab932b
commit
baf9ee6a93
@@ -87,6 +87,12 @@ class BaseObject extends Observable {
|
||||
constructor(opt_values) {
|
||||
super();
|
||||
|
||||
/***
|
||||
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
|
||||
* import("./Observable").OnSignature<import("./ObjectEventType").Types, ObjectEvent>}
|
||||
*/
|
||||
this.on;
|
||||
|
||||
// Call {@link module:ol/util.getUid} to ensure that the order of objects' ids is
|
||||
// the same as the order in which they were created. This also helps to
|
||||
// ensure that object properties are always added in the same order, which
|
||||
|
||||
Reference in New Issue
Block a user