Put in order · NestJS course · Module 1: NestJS Basics
NestJS Service Declaration
Arrange the elements of a NestJS service declaration in the correct order:
Items to put in order
- LegionService
- @Injectable()
- { methods }
- export class
Show the answer
Correct order:
- @Injectable()
- export class
- LegionService
- { methods }