Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "core-nestjs/src/decorators/roles.decorator"

Index

Functions

Functions

Const Roles

  • Roles(...roles: string[]): function
  • Parameters

    • Rest ...roles: string[]

    Returns function

      • (target: object, key?: any, descriptor?: any): any
      • Parameters

        • target: object
        • Optional key: any
        • Optional descriptor: any

        Returns any

Generated using TypeDoc