Skip to content

Commit

Permalink
fix: Correct type definition for waitForAllMessagesAcknowledged (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-nemcev authored Dec 4, 2024
1 parent ca88f2f commit 353d535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export declare function removeHook(hookFn: HookFunction): void

type CreateAddHookMessageChannelReturn<Data> = {
addHookMessagePort: MessagePort,
waitForAllMessagesAcknowledged: Promise<void>
waitForAllMessagesAcknowledged: () => Promise<void>
registerOptions: { data?: Data; transferList?: any[]; }
}

Expand Down

0 comments on commit 353d535

Please sign in to comment.