UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

6 lines (5 loc) • 333 B
export declare class ExceptionsZone { private static readonly exceptionHandler; static run(callback: () => void, teardown: ((err: any) => void) | undefined, autoFlushLogs: boolean): void; static asyncRun(callback: () => Promise<void>, teardown: ((err: any) => void) | undefined, autoFlushLogs: boolean): Promise<void>; }