Type Alias: IpcBridgeMethod()<TChannel>
IpcBridgeMethod<
TChannel> = (...args:IpcInvokeChannelParams<TChannel>) =>BridgeResult<TChannel>
Defined in: shared/types/preload.ts:37
Function signature for invoking a typed IPC channel.
Type Parametersโ
TChannelโ
TChannel extends IpcInvokeChannel
Parametersโ
argsโ
...IpcInvokeChannelParams<TChannel>
Returnsโ
BridgeResult<TChannel>
Remarksโ
Uses a rest tuple for parameters (including the empty tuple []) instead of
conditional typing. This keeps the signature precise while avoiding
conditional-type instantiation edge cases that can confuse tooling.