@types/chrome 0.0.262 → 0.0.263
Sign up to get free protection for your applications and to get access to all the features.
- chrome/README.md +1 -1
- chrome/chrome-cast/index.d.ts +11 -11
- chrome/package.json +3 -3
chrome/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (http://developer.chrome.com/e
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Fri, 08 Mar 2024 15:35:33 GMT
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
13
13
|
|
14
14
|
# Credits
|
chrome/chrome-cast/index.d.ts
CHANGED
@@ -843,10 +843,10 @@ declare namespace chrome.cast.media {
|
|
843
843
|
streamType: chrome.cast.media.StreamType;
|
844
844
|
contentType: string;
|
845
845
|
metadata: any;
|
846
|
-
duration
|
847
|
-
tracks
|
848
|
-
textTrackStyle
|
849
|
-
customData
|
846
|
+
duration?: number | null;
|
847
|
+
tracks?: chrome.cast.media.Track[] | null;
|
848
|
+
textTrackStyle?: chrome.cast.media.TextTrackStyle | null;
|
849
|
+
customData?: Object | null;
|
850
850
|
}
|
851
851
|
|
852
852
|
export class Media {
|
@@ -857,18 +857,18 @@ declare namespace chrome.cast.media {
|
|
857
857
|
*/
|
858
858
|
constructor(sessionId: string, mediaSessionId: number);
|
859
859
|
|
860
|
-
activeTrackIds
|
861
|
-
currentItemId
|
862
|
-
customData
|
860
|
+
activeTrackIds?: number[] | null;
|
861
|
+
currentItemId?: number | null;
|
862
|
+
customData?: Object | null;
|
863
863
|
idleReason: chrome.cast.media.IdleReason | null;
|
864
|
-
items
|
864
|
+
items?: chrome.cast.media.QueueItem[] | null;
|
865
865
|
liveSeekableRange?: chrome.cast.media.LiveSeekableRange | undefined;
|
866
|
-
loadingItemId
|
867
|
-
media
|
866
|
+
loadingItemId?: number | null;
|
867
|
+
media?: chrome.cast.media.MediaInfo | null;
|
868
868
|
mediaSessionId: number;
|
869
869
|
playbackRate: number;
|
870
870
|
playerState: chrome.cast.media.PlayerState;
|
871
|
-
preloadedItemId
|
871
|
+
preloadedItemId?: number | null;
|
872
872
|
repeatMode: chrome.cast.media.RepeatMode;
|
873
873
|
sessionId: string;
|
874
874
|
supportedMediaCommands: chrome.cast.media.MediaCommand[];
|
chrome/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/chrome",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.263",
|
4
4
|
"description": "TypeScript definitions for chrome",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
6
6
|
"license": "MIT",
|
@@ -93,6 +93,6 @@
|
|
93
93
|
"@types/filesystem": "*",
|
94
94
|
"@types/har-format": "*"
|
95
95
|
},
|
96
|
-
"typesPublisherContentHash": "
|
97
|
-
"typeScriptVersion": "4.
|
96
|
+
"typesPublisherContentHash": "2f0e12fa0b0ca9a71728502681d45ad2832bbabf2717d826f59e6c1aae1aa42c",
|
97
|
+
"typeScriptVersion": "4.7"
|
98
98
|
}
|