Skip to content

EventOptions

ts
type EventOptions: object;

Optional configuration of an event instance.

Type declaration

warn()?

ts
optional warn: (message) => void;

Custom warnings handler; by default console.warn is used.

Parameters

message: string

Returns

void

Defined in

event.ts:21 ↗