diff --git a/index.d.ts b/index.d.ts index 0faeb54..d315248 100644 --- a/index.d.ts +++ b/index.d.ts @@ -87,7 +87,7 @@ export declare function removeHook(hookFn: HookFunction): void type CreateAddHookMessageChannelReturn = { addHookMessagePort: MessagePort, - waitForAllMessagesAcknowledged: Promise + waitForAllMessagesAcknowledged: () => Promise registerOptions: { data?: Data; transferList?: any[]; } }