Question from the Nest.js test

Given a Nest.js service, determine if the `libraryService` property is injected via property-based injection.

Easy

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 28 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!