Well, I just found a solution, the module is actually introduced into the derived class and passed to the parent object via the super () call:
import {inject} from 'aurelia-framework'; import {HttpClient} from 'aurelia-http-client'; @inject (HttpClient) export class Parent{ constructor(module){ this.injectedmodule = module; } } export class ClassA extends Parent{ constructor(module){ super(module); this.injectedmodule.get()
source share