@tsed/common
Version:
A TypeScript Framework on top of Express
6 lines (5 loc) • 417 B
TypeScript
import { Type } from "@tsed/core";
import type { ExceptionFilterMethods } from "../interfaces/ExceptionFilterMethods";
export declare type ExceptionFilterKey = Type<any> | Symbol | string;
export declare const ExceptionFiltersContainer: Map<ExceptionFilterKey, Type<ExceptionFilterMethods<unknown>>>;
export declare function registerExceptionType(type: ExceptionFilterKey, token: Type<ExceptionFilterMethods>): void;