OnSignatures return more specific type

This commit is contained in:
Simon Seyock
2021-09-10 16:11:38 +02:00
parent d7f7cbbc75
commit ce4f6ccb0d
28 changed files with 73 additions and 75 deletions

View File

@@ -107,12 +107,12 @@ class Geolocation extends BaseObject {
super();
/***
* @type {GeolocationOnSignature<import("./Observable.js").OnReturn>}
* @type {GeolocationOnSignature<import("./events").EventsKey>}
*/
this.on;
/***
* @type {GeolocationOnSignature<import("./Observable.js").OnReturn>}
* @type {GeolocationOnSignature<import("./events").EventsKey>}
*/
this.once;