Put in order · NestJS course · Module 1: NestJS Basics
NestJS Controller Declaration
Arrange the elements of the controller declaration in the correct order:
Items to put in order
- LegionController { }
- @Controller('legion')
- export class
Show the answer
Correct order:
- @Controller('legion')
- export class
- LegionController { }