JWPlayer :: Add missing getContainer function def

This commit is contained in:
Daniel McGraw
2018-02-28 09:11:37 -07:00
parent e31740541c
commit 2fd2776cb8
2 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -3,6 +3,7 @@
// Definitions by: Martin Duparc <https://github.com/martinduparc>
// Tomer Kruvi <https://github.com/kutomer>
// Philipp Gürtler <https://github.com/philippguertler>
// Daniel McGraw <https://github.com/danielmcgraw>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// JW Player is the leading HTML5 & Flash video player, optimized for mobile and the desktop. Easy enough for beginners, advanced enough for pros.
@@ -254,7 +255,8 @@ interface JWPlayer {
getSafeRegion(): Region;
getState(): string;
getVolume(): number;
getEnvironment(): Environment;
getContainer(): HTMLElement;
getEnvironment(): Environment;
getWidth(): number;
load(playlist: any[]): void;
load(playlist: string): void;
+3 -2
View File
@@ -2,7 +2,8 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
@@ -19,4 +20,4 @@
"files": [
"index.d.ts"
]
}
}