From 609a5451316df45c320a9da6907bc8b53f91254e Mon Sep 17 00:00:00 2001 From: Joe Villegas Date: Tue, 17 Mar 2020 01:02:43 -0700 Subject: [PATCH] typings(StreamDispatcher): remove end event (#3945) --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 51358e20e..a4883f07f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1504,7 +1504,7 @@ declare module 'discord.js' { public pause(silence?: boolean): void; public resume(): void; - public on(event: 'close' | 'drain' | 'end' | 'finish' | 'start', listener: () => void): this; + public on(event: 'close' | 'drain' | 'finish' | 'start', listener: () => void): this; public on(event: 'debug', listener: (info: string) => void): this; public on(event: 'error', listener: (err: Error) => void): this; public on(event: 'pipe' | 'unpipe', listener: (src: Readable) => void): this; @@ -1512,7 +1512,7 @@ declare module 'discord.js' { public on(event: 'volumeChange', listener: (oldVolume: number, newVolume: number) => void): this; public on(event: string, listener: (...args: any[]) => void): this; - public once(event: 'close' | 'drain' | 'end' | 'finish' | 'start', listener: () => void): this; + public once(event: 'close' | 'drain' | 'finish' | 'start', listener: () => void): this; public once(event: 'debug', listener: (info: string) => void): this; public once(event: 'error', listener: (err: Error) => void): this; public once(event: 'pipe' | 'unpipe', listener: (src: Readable) => void): this;