mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
types: make Client#voice non-nullable (#5148)
Because of the removal of browser support (#5113) Client#voice is always non-nullable.
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -208,7 +208,7 @@ declare module 'discord.js' {
|
|||||||
public readonly uptime: number | null;
|
public readonly uptime: number | null;
|
||||||
public user: ClientUser | null;
|
public user: ClientUser | null;
|
||||||
public users: UserManager;
|
public users: UserManager;
|
||||||
public voice: ClientVoiceManager | null;
|
public voice: ClientVoiceManager;
|
||||||
public ws: WebSocketManager;
|
public ws: WebSocketManager;
|
||||||
public destroy(): void;
|
public destroy(): void;
|
||||||
public fetchApplication(): Promise<ClientApplication>;
|
public fetchApplication(): Promise<ClientApplication>;
|
||||||
|
|||||||
Reference in New Issue
Block a user