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) • 379 B
import { ExternalExceptionsHandler } from '../exceptions/external-exceptions-handler.js'; import type { ContextType } from '@nestjs/common'; export declare class ExternalErrorProxy { createProxy<TContext extends string = ContextType>(targetCallback: (...args: any[]) => any, exceptionsHandler: ExternalExceptionsHandler, type?: TContext): (...args: any[]) => Promise<any>; }