Skip to content
GitHub

InspectedGuard

type alias in meocord/testing Since 4.1.0

type InspectedGuard =
  | (new (...args: any[]) => GuardInterface)
  | {
      provide: new (...args: any[]) => GuardInterface
      params?: Record<string, any>
    }

A guard as @UseGuard declares it: the class, or the class with its params.