Skip to content

ErrorChainedDecorator

@tsed/schema

Usage

typescript
import { ErrorChainedDecorator } from "@tsed/specs/schema/src/utils/withErrorMsg";

See /packages/specs/schema/src/utils/withErrorMsg.ts.

Overview

ts
type ErrorChainedDecorator<Decorator extends (...args: any[]) => any> = (...args: Parameters<Decorator>) => ErrorChainedMethods<Decorator>;

Released under the MIT License.