Skip to content

VimpClientInboundEvents

@vimp-mp/types 2.0.1

Interface · CEF UI API

Custom 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

VIMP developer documentation