From 9336ca08d59a21ef1de03fb156f1c5baf538341e Mon Sep 17 00:00:00 2001 From: Andromeda <46562212+DevAndromeda@users.noreply.github.com> Date: Wed, 29 Sep 2021 12:41:09 +0545 Subject: [PATCH] refactor(Queue): allow undefined to be returned --- src/Structures/Queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index cca75c4..b391ea7 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -28,7 +28,7 @@ class Queue { private _filtersUpdate = false; #lastVolume = 0; #destroyed = false; - public onBeforeCreateStream: (track: Track, source: TrackSource, queue: Queue) => Promise = null; + public onBeforeCreateStream: (track: Track, source: TrackSource, queue: Queue) => Promise = null; /** * Queue constructor