mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
ci: fix typechecking in ci
This commit is contained in:
@@ -13,6 +13,6 @@ export class AudioPlayerError extends Error {
|
||||
super(error.message);
|
||||
this.resource = resource;
|
||||
this.name = error.name;
|
||||
this.stack = error.stack;
|
||||
this.stack = error.stack!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ export class AudioResource<T = unknown> {
|
||||
/**
|
||||
* The audio player that the resource is subscribed to, if any.
|
||||
*/
|
||||
public audioPlayer?: AudioPlayer;
|
||||
public audioPlayer?: AudioPlayer | undefined;
|
||||
|
||||
/**
|
||||
* The playback duration of this audio resource, given in milliseconds.
|
||||
|
||||
Reference in New Issue
Block a user