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

@@ -204,12 +204,12 @@ class Draw extends PointerInteraction {
super(pointerOptions);
/***
* @type {DrawOnSignature<import("../Observable").OnReturn>}
* @type {DrawOnSignature<import("../events").EventsKey>}
*/
this.on;
/***
* @type {DrawOnSignature<import("../Observable").OnReturn>}
* @type {DrawOnSignature<import("../events").EventsKey>}
*/
this.once;