mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 00:30:28 +03:00
add param type
This commit is contained in:
parent
4968e23dff
commit
3b62beabf1
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ function sendAndWaitForReply(client: WindowClient, type: string, payload: object
|
|||
return promise;
|
||||
}
|
||||
|
||||
self.addEventListener('message', (event) => {
|
||||
self.addEventListener('message', (event: ExtendableMessageEvent) => {
|
||||
const { replyTo } = event.data;
|
||||
if (replyTo) {
|
||||
const resolve = pendingReplies.get(replyTo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue