14 lines
293 B
TypeScript
14 lines
293 B
TypeScript
![]() |
class Foo {
|
||
|
constructor(
|
||
|
@inject(Bar)
|
||
|
private readonly bar: IBar,
|
||
|
|
||
|
@inject(MyProcessor)
|
||
|
private readonly myProcessor: IMyProcessor,
|
||
|
|
||
|
@inject(InjectionTypes.AnotherThing)
|
||
|
|
||
|
private readonly anotherThing: IAnotherThing | undefined,
|
||
|
) { }
|
||
|
}
|