Sorry for the somewhat convoluted title.
I have been using Angular 1.x for a couple years now and have recently been investigating the potential of using TypeScript
I believe it should be treated in Typescript in similar manner like it would be in ES7:
class BaseClass {
static $inject = ['$http'];
constructor(...args) {
(<any>this).constructor.$inject.forEach((service, index) => {
this[service] = args[index];
});
}
}
This way children may inherit dependencies or have their own by calling super()
.