Medium
Take a look at the following code for a Nest.js service:
@Injectable()
export class MyService {
@Inject('LibraryService')
private libraryService: LibraryService;
}
Which of the following statements is true about this code?
Author: AxelStatus: PublishedQuestion passed 32 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
3
What is the main use of the `OnModuleInit` interface in Nest.js?3
Nest module lifecycle methods execution order4
Which decorator is used to associate a Guard with a route or controller in Nest?5
How to define a service or component that can be injected in Nest.js7
How to make an `ExceptionFilter` global so that it applies to your entire application in NestJS7
What is the main responsibility of a pipe in Nest.js?10
How to declare a class as a controller in Nest.js