Function mixInInjectableSuperclass

  • Mixes in InjectableSuperclass as an additional superclass.

    class MySubclass extends mixInInjectableSuperclass(MyOtherSuperclass) {
    subscribeWithAutoUnsubscribe(observable: Observable<any>) {
    this.subscribeTo(observable);
    }
    }

    Type Parameters

    • B extends Constructor

    Parameters

    • Base: B

    Returns {
        prototype: __type<any>;
        new (...args): __type<B>;
    } & B

Generated using TypeDoc