diff --git a/packages/webamp/index.d.ts b/packages/webamp/index.d.ts index 6c6e0112..af639ac5 100644 --- a/packages/webamp/index.d.ts +++ b/packages/webamp/index.d.ts @@ -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. */