mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
typings(StreamDispatcher): remove end event (#3945)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -1504,7 +1504,7 @@ declare module 'discord.js' {
|
|||||||
public pause(silence?: boolean): void;
|
public pause(silence?: boolean): void;
|
||||||
public resume(): 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: 'debug', listener: (info: string) => void): this;
|
||||||
public on(event: 'error', listener: (err: Error) => void): this;
|
public on(event: 'error', listener: (err: Error) => void): this;
|
||||||
public on(event: 'pipe' | 'unpipe', listener: (src: Readable) => 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: 'volumeChange', listener: (oldVolume: number, newVolume: number) => void): this;
|
||||||
public on(event: string, listener: (...args: any[]) => 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: 'debug', listener: (info: string) => void): this;
|
||||||
public once(event: 'error', listener: (err: Error) => void): this;
|
public once(event: 'error', listener: (err: Error) => void): this;
|
||||||
public once(event: 'pipe' | 'unpipe', listener: (src: Readable) => void): this;
|
public once(event: 'pipe' | 'unpipe', listener: (src: Readable) => void): this;
|
||||||
|
|||||||
Reference in New Issue
Block a user