Extend alt.onRpc and alt.emitRpc auto-completion by merging interfaces.
alt.onRpc
alt.emitRpc
declare module 'alt-client' { interface ICustomClientServerRpc { myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean> } }
ICustomClientServerRpc
Extend
alt.onRpc
andalt.emitRpc
auto-completion by merging interfaces.declare module 'alt-client' { interface ICustomClientServerRpc { myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean> } }
ICustomClientServerRpc