@kephas/core
Version:
Provides a common infrastructure for all the other Kephas Framework components: ambient services, dynamic reflection, composition, application management, and others.
22 lines (21 loc) • 443 B
TypeScript
/**
* Declares the primitives of an abstract type.
*
* @export
* @interface AbstractType
* @extends {Function}
*/
export interface AbstractType extends Function {
[key: string]: any;
}
/**
* Declares the primitives of an instantiable type.
*
* @export
* @interface Type
* @extends {Function}
* @template T The actual type.
*/
export interface Type<T> extends AbstractType {
new (...args: any[]): T;
}