UNPKG

@tsed/common

Version:
23 lines (22 loc) 622 B
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; }