export type Constructor = new (...args: any[]) => T; export type Mixin = new (...args: ConstructorParameters) => InstanceType & T;