Update youtube.d.ts

Adds union type to width and height, can be either a string like "100%", or a number instead.
This commit is contained in:
Javier
2015-11-04 09:35:13 -08:00
parent 90fe3e51ea
commit f709afbe27
+2 -2
View File
@@ -50,8 +50,8 @@ declare module YT {
}
export interface PlayerOptions {
width?: string;
height?: string;
width?: string | number;
height?: string | number;
videoId?: string;
playerVars?: PlayerVars;
events?: Events;