mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
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:
Vendored
+1
-1
@@ -363,7 +363,7 @@ interface JWPlayer {
|
||||
}
|
||||
|
||||
interface JWPlayerStatic {
|
||||
(id: string): JWPlayer;
|
||||
(query?: string | number | Element): JWPlayer;
|
||||
key: string;
|
||||
version: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user