@quadnix/octoDecoratorsAnchorAnchor CallableAnchor(packageName: string): (constructor: any) => voidAn @Anchor is a class decorator to be placed on top of a class that represents an anchor.An anchor must extend the AAnchor class.@example@Anchor('my-package')export class MyAnchor extends AAnchor { ... }@groupDecorators@seeDefinition of Anchors.ParameterspackageName: stringReturns (constructor: any) => voidThe decorated class.(constructor: any): voidParametersconstructor: anyReturns void
An
@Anchor
is a class decorator to be placed on top of a class that represents an anchor.Decorators
Definition of Anchors.