@serenity-is/corelib / Decorators / registerClass

Function: registerClass()

registerClass(nameOrIntf?, intf2?): (target, _context?) => void

Defined in: src/types/decorators.ts:17

Parameters

nameOrIntf?

string | InterfaceType[]

intf2?

InterfaceType[]

Returns

(target, _context?): void

Parameters

target

Function

_context?

any

Returns

void