Code review comments
This commit is contained in:
parent
242dc7cca2
commit
24cb572a11
|
|
@ -673,7 +673,7 @@ export const GLOBAL_FUNCTIONS = {
|
|||
postMessageToTargetWindow: {
|
||||
"!doc":
|
||||
"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 {
|
||||
type: ActionTriggerType.POST_MESSAGE,
|
||||
payload: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user