Skip to content

Commit

Permalink
types: make Client#voice non-nullable (#5148)
Browse files Browse the repository at this point in the history
Because of the removal of browser support (#5113) Client#voice is always non-nullable.
  • Loading branch information
cherryblossom000 authored Dec 26, 2020
1 parent b8be723 commit 40d77ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ declare module 'discord.js' {
public readonly uptime: number | null;
public user: ClientUser | null;
public users: UserManager;
public voice: ClientVoiceManager | null;
public voice: ClientVoiceManager;
public ws: WebSocketManager;
public destroy(): void;
public fetchApplication(): Promise<ClientApplication>;
Expand Down

0 comments on commit 40d77ba

Please sign in to comment.