mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-03 07:23:55 +00:00
Use patched type for onnotify
This commit is contained in:
parent
644aa2e0b7
commit
3d0031c023
1 changed files with 3 additions and 5 deletions
|
|
@ -41,11 +41,9 @@ class Wac extends MakiObject {
|
|||
return unimplementedWarning("isvisible");
|
||||
}
|
||||
|
||||
// @ts-ignore This (deprecated) method's signature does not quite match the
|
||||
// same method on MakiObject. This method is not used by any skins as far as
|
||||
// we know, so we'll just ignore the issue for now.
|
||||
onnotify(notifstr: string, a: string, b: number): void {
|
||||
this.js_trigger("onNotify", notifstr, a, b);
|
||||
onnotify(command: string, param: string, a: number, b: number): number {
|
||||
this.js_trigger("onNotify", command, param, a, b);
|
||||
return unimplementedWarning("onnotify");
|
||||
}
|
||||
|
||||
onshow(): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue