mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
chore: use descriptive type parameter names (#9937)
* chore: use descriptive type parameter names * refactor: requested changes --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -187,9 +187,9 @@ export interface VoiceConnection extends EventEmitter {
|
||||
*
|
||||
* @eventProperty
|
||||
*/
|
||||
on<T extends VoiceConnectionStatus>(
|
||||
event: T,
|
||||
listener: (oldState: VoiceConnectionState, newState: VoiceConnectionState & { status: T }) => void,
|
||||
on<Event extends VoiceConnectionStatus>(
|
||||
event: Event,
|
||||
listener: (oldState: VoiceConnectionState, newState: VoiceConnectionState & { status: Event }) => void,
|
||||
): this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user