Fix typing of getPlaybackInfo parameters

This commit is contained in:
Matthew Haughton 2024-11-11 22:37:52 +11:00
parent 6b771c9225
commit 4c785f4553

View File

@ -232,9 +232,9 @@ export async function getPlaybackInfo(
maxBitrate: number,
deviceProfile: DeviceProfile,
startPosition: number,
mediaSourceId: string,
audioStreamIndex: number,
subtitleStreamIndex: number,
mediaSourceId: string | null,
audioStreamIndex: number | null,
subtitleStreamIndex: number | null,
liveStreamId: string | null = null
// eslint-disable-next-line @typescript-eslint/no-explicit-any
): Promise<any> {