Skip to content

Commit

Permalink
types(UpdatePlayerOptions): remove undefined type from all property
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab1o0107 committed Dec 21, 2023
1 parent f51d339 commit df30010
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/node/Rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,11 @@ export interface UpdatePlayerInfo {
}

export interface UpdatePlayerOptions {
track?:
| {
encoded?: string | null;
}
| undefined;
position?: number | undefined;
endTime?: number | undefined;
volume?: number | undefined;
paused?: boolean | undefined;
track?: { encoded?: string | null };
position?: number;
endTime?: number;
volume?: number;
paused?: boolean;
filters?: FilterOptions;
voice?: LavalinkPlayerVoiceState;
}
Expand Down

0 comments on commit df30010

Please sign in to comment.