VimpClientInboundEvents
@vimp-mp/types 2.0.1Custom events the UI sends to the client (vimp.emitClient).
Extend via declaration merging to strongly type payloads:
ts
declare module '@vimp-mp/types/ui' {
interface VimpClientInboundEvents {
'ui:ping': { ts: number };
}
}ts
interface VimpClientInboundEvents