Skip to content
GitHub

InspectedInterceptor

type alias in meocord/testing Since 4.1.0

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

An interceptor as @UseInterceptor declares it: the class, or the class with its params.