Fish Wang says to YSITD
@Injectable class MyClass { @inject(TYPES.dep) public field?: TYPE = null public method1() { } } 這樣是合法的 typescript