Skip to main content

Resource

Callable

  • Resource(): (constructor: any) => void

  • A @Resource is a class decorator to be placed on top of a class that represents a resource.

    @example
    @Resource()
    export class MyResource extends AResource<MyResource> { ... }
    @see

    Definition of Resources.


    Returns (constructor: any) => void

    The decorated class.

      • (constructor: any): void
      • Parameters

        • constructor: any

        Returns void