Extend alt.emitServer and alt.onServer auto-completion by merging interfaces.
alt.emitServer
alt.onServer
declare module 'alt-client' { interface ICustomServerClientEvent { myEvent: (arg1: string, arg2: { key: string, value: number }) } }
ICustomServerClientEvent
Extend
alt.emitServer
andalt.onServer
auto-completion by merging interfaces.declare module 'alt-client' { interface ICustomServerClientEvent { myEvent: (arg1: string, arg2: { key: string, value: number }) } }
ICustomServerClientEvent