Improve type definition for jwplayer() function.

This function accepts a string element id, a numeric JW Player instance
index, or a DOM element. It can also be omitted to select the first JW Player
instance.
This commit is contained in:
Daniel Cassidy
2019-01-11 10:05:33 +00:00
parent 4bc648fb0a
commit 1f5e81eed9
+1 -1
View File
@@ -363,7 +363,7 @@ interface JWPlayer {
}
interface JWPlayerStatic {
(id: string): JWPlayer;
(query?: string | number | Element): JWPlayer;
key: string;
version: string;
}