Change chrome.cast.Image to class type

This commit is contained in:
Samuel Maddock
2018-05-29 14:39:51 -04:00
committed by GitHub
parent 14e4edf065
commit 5946e58de1

View File

@@ -240,15 +240,13 @@ declare namespace chrome.cast {
}
export interface Image {
export class Image {
/**
* @param {string} url
* @constructor
* @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.Image
*/
new(
url: string
): Image;
constructor(url: string);
url: string;
height?: number;