diff --git a/guide/api-environment-runtimes.md b/guide/api-environment-runtimes.md index 278f8e95..c5c7bdf6 100644 --- a/guide/api-environment-runtimes.md +++ b/guide/api-environment-runtimes.md @@ -265,9 +265,7 @@ interface ModuleRunnerTransport { connect?(handlers: ModuleRunnerTransportHandlers): Promise | void disconnect?(): Promise | void send?(data: HotPayload): Promise | void - invoke?( - data: HotPayload, - ): Promise<{ /** result */ r: any } | { /** error */ e: any }> + invoke?(data: HotPayload): Promise<{ result: any } | { error: any }> timeout?: number } ```