@tsed/common
Version:
A TypeScript Framework on top of Express
11 lines (10 loc) • 354 B
TypeScript
import { InjectorService } from "@tsed/di";
import { PlatformContext } from "../domain/PlatformContext";
/**
* Create the TsED context to wrap request, response, injector, etc...
* @param injector
* @param req
* @param res
* @ignore
*/
export declare function createContext(injector: InjectorService, req: any, res: any): Promise<PlatformContext>;