Position -> Dom.Position in video.js (#47682)

TS 4.1 doesn't have a built-in type named Position anymore, which
exposed this bug.
This commit is contained in:
Nathan Shively-Sanders 2020-09-17 08:17:19 -07:00 committed by GitHub
parent 3dc75e301a
commit 01cb50d31b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2320,7 +2320,7 @@ declare namespace videojs {
*
* @return The position of the element that was passed in.
*/
findPosition(el: Element): Position;
findPosition(el: Element): Dom.Position;
/**
* Get the value of an element's attribute