@tsed/common
Version:
A TypeScript Framework on top of Express
23 lines (22 loc) • 622 B
TypeScript
import { PlatformHandler } from "./PlatformHandler";
import { PlatformRouter } from "./PlatformRouter";
declare global {
namespace TsED {
interface Application {
}
}
}
/**
* `PlatformApplication` is used to provide all routes collected by annotation `@Controller`.
*
* @platform
*/
export declare class PlatformApplication<App = TsED.Application, Router = TsED.Router> extends PlatformRouter<Router> {
raw: App;
rawApp: App;
rawRouter: Router;
constructor(platformHandler: PlatformHandler);
protected static createRawApp(): any;
getApp(): App;
useContext(): this;
}