From 3fe23e062ed54e4539ae079b7adea5c47ca29ab1 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Thu, 27 Aug 2020 17:15:42 -0400 Subject: [PATCH] Make flush argument optional to close in typing file --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index d3901f8..5374ac1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -35,7 +35,7 @@ class Speaker extends Writable { * * @param flush Defaults to `true`. */ - public close(flush: boolean): string; + public close(flush?: boolean): string; /** * Returns the `MPG123_ENC_*` constant that corresponds to the given "format"