mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user