Type Alias MirrorCompositionClass<CLS, CLASS_KEY, INSTANCE_KEY>

MirrorCompositionClass: CLS extends new (...args: any[]) => infer T
    ? MirrorComposition<CLS, CLASS_KEY> & new (
        ...args: any[],
    ) => MirrorComposition<T, INSTANCE_KEY>
    : MirrorComposition<CLS, CLASS_KEY>

a utility type for the return type of subclassThroughComposition.

Type Parameters

  • CLS extends ConstructorOf<any, any>
  • CLASS_KEY extends PropertyKey
  • INSTANCE_KEY extends PropertyKey