@o-galaxy/ether
Version:
Rest Api Framework
15 lines (14 loc) • 410 B
TypeScript
export declare type Ctor<T = any> = new (...args: any[]) => T;
export interface ModuleParameters {
path: string;
controllers: Array<Ctor<any>>;
providers: Array<Ctor<any>>;
modules: Array<Ctor<any>>;
guards: Array<Ctor<any>>;
errorHandlers: Array<(Function)>;
}
export * from './guard';
export * from './route-wrapper-handler';
export interface Type<T> {
new (...args: any[]): T;
}