Skip to content

weixin-ts / bot/src / EventHandler

Type Alias: EventHandler<T>

EventHandler<T> = (...args) => void

Defined in: bot/src/events.ts:10

Generic event handler function type

Type Parameters

T

T extends any[] = any[]

Parameters

args

...T

Returns

void

Released under the MIT License.