@serenity-is/corelib / Decorators / registerInterface
Function: registerInterface()
registerInterface(
nameOrIntf?,intf2?): (target,_context?) =>void
Defined in: src/types/decorators.ts:33
Registers an interface.
Parameters
nameOrIntf?
Full type name or interface list.
string | InterfaceType[]
intf2?
Additional interfaces.
Returns
Class decorator.
(
target,_context?):void
Parameters
target
Function
_context?
any
Returns
void