@quadnix/octoDecoratorsResourceResource CallableResource(): (constructor: any) => voidA @Resource is a class decorator to be placed on top of a class that represents a resource.A resource must extend the AResource class.@example@Resource()export class MyResource extends AResource<MyResource> { ... }@seeDefinition of Resources.Returns (constructor: any) => voidThe decorated class.(constructor: any): voidParametersconstructor: anyReturns void
A
@Resource
is a class decorator to be placed on top of a class that represents a resource.Definition of Resources.