@serenity-is/corelib / registerClass

Function: registerClass()

registerClass(type, name, intfAndAttr?): void

Defined in: src/base/system.ts:230

Register a class with the type system.

Parameters

type

any

Class type to register

name

string

Name to register the class under

intfAndAttr?

(InterfaceType | AttributeSpecifier)[]

Optional interfaces and attributes the class implements

Returns

void