Skip to content

Commit

Permalink
fix(schema): rollback change introduced to fix typings with v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 8, 2023
1 parent bae2f22 commit f7ec29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/specs/schema/src/utils/withErrorMsg.ts
Expand Up @@ -2,7 +2,7 @@ import {useDecorators} from "@tsed/core";
import {ErrorMsg} from "../decorators/common/errorMsg";

export interface ErrorChainedMethods<T> {
<T>(target: Object, propertyKey: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<T> | number): any;
<T>(target: Object, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<T> | number): any;

Error(msg: string): this;
}
Expand Down

0 comments on commit f7ec29d

Please sign in to comment.