Add close method to public types

This commit is contained in:
Jordan Eldredge 2020-11-26 13:36:29 -08:00
parent 46e0e8180c
commit 4e61a1ac23

View file

@ -239,6 +239,12 @@ export default class Webamp {
*/
public onClose(cb: () => void): () => void;
/**
* Equivalent to selection "Close" from Webamp's options menu. Once closed,
* you can open it again with `.reopen()`.
*/
public close(): void;
/**
* After `.close()`ing this instance, you can reopen it by calling this method.
*/