ErrorChainedMethods
@tsed/schema
Usage
typescript
import { ErrorChainedMethods } from "@tsed/schema";Overview
ts
interface ErrorChainedMethods<T> {
<T>(target: Object, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<T> | number): any;
Error(msg: string): this;
}
ts
<T>(target: Object, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<T> | number): any;Error
ts
Error(msg: string): this;