From f7ec29dfe51c4ce15b03f8d351a7036c4f71f44d Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Fri, 8 Sep 2023 11:34:32 +0200 Subject: [PATCH] fix(schema): rollback change introduced to fix typings with v5.0.0 --- packages/specs/schema/src/utils/withErrorMsg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/specs/schema/src/utils/withErrorMsg.ts b/packages/specs/schema/src/utils/withErrorMsg.ts index 8d34ccb8ef5..a70abdb87e6 100644 --- a/packages/specs/schema/src/utils/withErrorMsg.ts +++ b/packages/specs/schema/src/utils/withErrorMsg.ts @@ -2,7 +2,7 @@ import {useDecorators} from "@tsed/core"; import {ErrorMsg} from "../decorators/common/errorMsg"; export interface ErrorChainedMethods { - (target: Object, propertyKey: string | symbol | undefined, descriptor?: TypedPropertyDescriptor | number): any; + (target: Object, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor | number): any; Error(msg: string): this; }