Fix transfer array type

This commit is contained in:
Rimil Dey 2022-04-04 17:11:42 +05:30
parent e808bf2d41
commit 9d6846ecf6
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ export type PostMessageDescription = {
payload: {
message: any;
targetOrigin: any;
transfer?: any;
transfer?: [any];
};
};

View File

@ -261,7 +261,7 @@ const DATA_TREE_FUNCTIONS: Record<
};
},
},
postMessage: function(message: any, targetOrigin: any, transfer?: any) {
postMessage: function(message: any, targetOrigin: any, transfer?: [any]) {
return {
type: ActionTriggerType.POST_MESSAGE,
payload: {