mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-27 00:00:28 +00:00
Correct typing of CAF message custom data properties
This commit is contained in:
parent
4c785f4553
commit
028e635f71
10
src/types/global.d.ts
vendored
10
src/types/global.d.ts
vendored
@ -106,16 +106,16 @@ declare global {
|
||||
|
||||
declare module 'chromecast-caf-receiver/cast.framework.messages' {
|
||||
interface MediaInformationCustomData {
|
||||
audioStreamIndex: string;
|
||||
audioStreamIndex: number | null;
|
||||
canClientSeek: boolean;
|
||||
canSeek: boolean;
|
||||
itemId: string | undefined;
|
||||
liveStreamId: number;
|
||||
mediaSourceId: number;
|
||||
liveStreamId: string | null;
|
||||
mediaSourceId: string | null;
|
||||
playMethod: 'DirectStream' | 'Transcode';
|
||||
playSessionId: string;
|
||||
runtimeTicks: number;
|
||||
runtimeTicks: number | null;
|
||||
startPositionTicks: number;
|
||||
subtitleStreamIndex: number;
|
||||
subtitleStreamIndex: number | null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user