Saltearse al contenido
sern

eventModule

eventModule<T>(mod): Module

Type parameters

T extends keyof ClientEvents = keyof ClientEvents

Parameters

mod: InputEvent<T>

Returns

Module

Since

1.0.0 The wrapper function to define event modules for sern

Source

src/core/modules.ts:29