Skip to content
sern

SernEventCommand

Extends

Type parameters

T extends keyof SernEventsMapping = keyof SernEventsMapping

Properties

description?

optional description: string

Inherited from

Module.description

Source

src/types/core-modules.ts:39


locals

locals: Record<string, unknown>

Inherited from

Module.locals

Source

src/types/core-modules.ts:44


meta

meta: object

absPath

absPath: string

id

id: string

Inherited from

Module.meta

Source

src/types/core-modules.ts:40


name?

optional name: T

Overrides

Module.name

Source

src/types/core-modules.ts:50


onEvent

onEvent: ControlPlugin<any[]>[]

Inherited from

Module.onEvent

Source

src/types/core-modules.ts:37


plugins

plugins: InitPlugin<any[]>[]

Inherited from

Module.plugins

Source

src/types/core-modules.ts:38


type

type: Sern

Overrides

Module.type

Source

src/types/core-modules.ts:51

Methods

execute()

execute(…args): unknown

Parameters

• …args: SernEventsMapping[T]

Returns

unknown

Overrides

Module.execute

Source

src/types/core-modules.ts:52