mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Type fix for checkOrigin (#22925)
checkOrigin can also be an array of allowed origins.
This commit is contained in:
committed by
Wesley Wigham
parent
16937e5e28
commit
71ca70ae88
Vendored
+1
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user