Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NoopDecorator

Type of Noop decorator

Hierarchy

  • NoopDecorator

Callable

  • __call(): any
  • Defines controller handler to do nothing

    example
    @Controller()
    export class TestController {
      @Post('/login')
      @Use(passport.authenticate({ successRedirect: '/', failureRedirect: '/login' })
      @Noop()
      doLogin() {}
    }
    

    Returns any

Index

Constructors

Constructors

constructor

  • new NoopDecorator(): Noop

Generated using TypeDoc