Type fix for checkOrigin (#22925)

checkOrigin can also be an array of allowed origins.
This commit is contained in:
Johannes Walleboom
2018-01-17 09:44:24 -08:00
committed by Wesley Wigham
parent 16937e5e28
commit 71ca70ae88
+1 -1
View File
@@ -37,7 +37,7 @@ export interface IFrameOptions {
* If your iFrame navigates between different domains, ports or protocols; then you will need to
* provide an array of URLs or disable this option.
*/
checkOrigin?: boolean;
checkOrigin?: boolean | string[];
/**
* When enabled in page linking inside the iFrame and from the iFrame to the parent page will be enabled.
*/