16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
|
/**
|
||
|
* This abstraction is used by the mixin pattern.
|
||
|
* It describes a class constructor.
|
||
|
* @public
|
||
|
*/
|
||
|
export type Constructor<T = {}> = new (...args: any[]) => T;
|
||
|
/**
|
||
|
* This abstraction is used by the mixin pattern.
|
||
|
* It describes the "static side" of a class.
|
||
|
*
|
||
|
* @public
|
||
|
*/
|
||
|
export type PropertiesOf<T> = {
|
||
|
[K in keyof T]: T[K];
|
||
|
};
|
||
|
//# sourceMappingURL=Mixin.d.ts.map
|