This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable @typescript-eslint/no-non-null-assertion */ | |
/** | |
* Type representing either an abstract or concrete class constructor. | |
* This allows the Mix function to accept both regular classes and abstract classes as input. | |
* The constructor can take any number of arguments (represented by ...args: any[]) | |
* and returns an instance of type T. | |
*/ | |
export type AbstractOrConcreteConstructor<T = any> = abstract new ( | |
...args: any[] |