Put in order · NestJS course · Module 2: Routing and Request Lifecycle

Intercept Method Signature

Arrange the elements of the intercept method signature in the correct order:

Items to put in order

  • context: ExecutionContext,
  • next: CallHandler)
  • intercept(
Show the answer

Correct order:

  1. intercept(
  2. context: ExecutionContext,
  3. next: CallHandler)