Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import * as http from 'http'; import * as express from 'express'; import { HttpsAdapter, ServerOptions } from '@https-enable/core'; import { NestExpressApplication } from '@nestjs/platform-express'; import { NestFastifyApplication } from '@nestjs/platform-fastify'; type ExpressApp = ReturnType<ReturnType<NestExpressApplication['getHttpAdapter']>['getInstance']>; declare class NestJsExpressHttpsAdapter extends HttpsAdapter<ExpressApp> { nestApp: NestExpressApplication; constructor(nestApp: NestExpressApplication); init: () => Promise<express.Express>; createMiddleware?: (options: ServerOptions) => any; onCertRenewed?: any; } type FastifyApp = ReturnType<ReturnType<NestFastifyApplication['getHttpAdapter']>['getInstance']>['routing']; declare class NestJsFastifyHttpsAdapter extends HttpsAdapter<FastifyApp, any> { nestApp: NestFastifyApplication; constructor(nestApp: NestFastifyApplication); init: () => Promise<(req: http.IncomingMessage, res: http.ServerResponse<http.IncomingMessage>) => void>; createMiddleware?: (options: ServerOptions) => any; onCertRenewed?: any; } export { NestJsExpressHttpsAdapter, NestJsFastifyHttpsAdapter }; |