UNPKG

@tsed/common

Version:
6 lines (5 loc) 417 B
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;