From 7947231db5c5570359c32bfef601ca1c3dd26793 Mon Sep 17 00:00:00 2001 From: David Singh <35025484+DavidSingh3@users.noreply.github.com> Date: Tue, 2 Nov 2021 00:18:04 +0100 Subject: [PATCH] Added optional `mpv_args` argument to types Fixes an issue where typescript will complain about providing the mpv_args argument on the Node_MPV.start() method --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index fa75c3c..ddcba5f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -632,7 +632,7 @@ export default class NodeMpv implements EventEmitter { /** * Starts mpv, by spawning a child process or by attaching to existing socket */ - start(): Promise; + start(mpv_args?: Array): Promise; /** * Closes mpv *