@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 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: Mon, 26 Feb 2024 21:10:43 GMT
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
@@ -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: number;
847
- tracks: chrome.cast.media.Track[];
848
- textTrackStyle: chrome.cast.media.TextTrackStyle;
849
- customData: Object;
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: number[];
861
- currentItemId: number;
862
- customData: Object;
860
+ activeTrackIds?: number[] | null;
861
+ currentItemId?: number | null;
862
+ customData?: Object | null;
863
863
  idleReason: chrome.cast.media.IdleReason | null;
864
- items: chrome.cast.media.QueueItem[];
864
+ items?: chrome.cast.media.QueueItem[] | null;
865
865
  liveSeekableRange?: chrome.cast.media.LiveSeekableRange | undefined;
866
- loadingItemId: number;
867
- media: chrome.cast.media.MediaInfo;
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: number;
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.262",
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": "5b5f470be4e249565651d73df1c1c67ce65127b4ba01df929a159942f643bd30",
97
- "typeScriptVersion": "4.6"
96
+ "typesPublisherContentHash": "2f0e12fa0b0ca9a71728502681d45ad2832bbabf2717d826f59e6c1aae1aa42c",
97
+ "typeScriptVersion": "4.7"
98
98
  }