Exposing typing for hidden host property in PlayerOptions

This commit is contained in:
Terry Mun
2018-09-07 14:29:17 +02:00
parent 2ae8bc7a1c
commit 2df7907103
+6
View File
@@ -4,6 +4,7 @@
// Ian Obermiller <http://ianobermiller.com>,
// Josh Goldberg <https://github.com/JoshuaKGoldberg>
// Eliot Fallon <https://github.com/eliotfallon213>
// Terry Mun <https://github.com/terrymun>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
@@ -394,6 +395,11 @@ declare namespace YT
* Handlers for events fired by the player.
*/
events?: Events;
/**
* Points host to correct origin for CORS
*/
host?: string;
}
/**