From f709afbe274e4c2a9c323609572c5a5f7783b6ee Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 4 Nov 2015 09:35:13 -0800 Subject: [PATCH] Update youtube.d.ts Adds union type to width and height, can be either a string like "100%", or a number instead. --- youtube/youtube.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube/youtube.d.ts b/youtube/youtube.d.ts index 42262f452..dab3a7866 100644 --- a/youtube/youtube.d.ts +++ b/youtube/youtube.d.ts @@ -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;