Method
constructor
(
@Inject(CatService) cat: CatService,
dog: DogService, // no @Inject — becomes a sparse array hole without design:paramtypes
@Inject(CatService) cat2: CatService,
)
Source from the content-addressed store, hash-verified
| 844 | @Injectable() |
| 845 | class ZooService { |
| 846 | constructor( |
| 847 | @Inject(CatService) cat: CatService, |
| 848 | dog: DogService, // no @Inject — becomes a sparse array hole without design:paramtypes |
| 849 | @Inject(CatService) cat2: CatService, |
| 850 | ) {} |
| 851 | } |
| 852 | |
| 853 | // Simulate missing emitDecoratorMetadata (esbuild). |
Callers
nothing calls this directly
Tested by
no test coverage detected