typings(StreamDispatcher): remove end event (#3945)

This commit is contained in:
Joe Villegas
2020-03-17 01:02:43 -07:00
committed by GitHub
parent a53404fac3
commit 609a545131

4
typings/index.d.ts vendored
View File

@@ -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;