Code review comments
This commit is contained in:
parent
242dc7cca2
commit
24cb572a11
|
|
@ -673,7 +673,7 @@ export const GLOBAL_FUNCTIONS = {
|
||||||
postMessageToTargetWindow: {
|
postMessageToTargetWindow: {
|
||||||
"!doc":
|
"!doc":
|
||||||
"Establish cross-origin communication between Window objects/page and iframes",
|
"Establish cross-origin communication between Window objects/page and iframes",
|
||||||
"!type": "fn(message: any, targetOrigin: any, transfer: [any])",
|
"!type": "fn(message: any, targetOrigin: string, transfer: [any])",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -261,7 +261,7 @@ const DATA_TREE_FUNCTIONS: Record<
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
postMessageToTargetWindow: function(message: any, targetOrigin: string) {
|
postMessageToTargetWindow: function(message: unknown, targetOrigin: string) {
|
||||||
return {
|
return {
|
||||||
type: ActionTriggerType.POST_MESSAGE,
|
type: ActionTriggerType.POST_MESSAGE,
|
||||||
payload: {
|
payload: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user