This commit is contained in:
Eric Liu 2020-12-11 05:09:55 -08:00
commit 443f957027
6 changed files with 50 additions and 7 deletions

View file

@ -94,5 +94,7 @@ export default class Tooltip {
triggerText: {};
};
$on(eventname: "click", cb: (event: WindowEventMap["click"]) => void): () => void;
$on(eventname: "mousedown", cb: (event: WindowEventMap["mousedown"]) => void): () => void;
$on(eventname: string, cb: (event: Event) => void): () => void;
}