Skip to content

Commit

Permalink
typings(StreamDispatcher): remove end event (#3945)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrShoopa authored Mar 17, 2020
1 parent a53404f commit 609a545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1504,15 +1504,15 @@ 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;
public on(event: 'speaking', listener: (speaking: boolean) => void): this;
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;
Expand Down

0 comments on commit 609a545

Please sign in to comment.