ci: fix typechecking in ci

This commit is contained in:
iCrawl
2022-08-15 00:42:33 +02:00
parent cb856860b7
commit c052f56f3e
30 changed files with 887 additions and 1023 deletions

View File

@@ -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!;
}
}

View File

@@ -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.