diff --git a/src/decorator/string/IsPostalCode.ts b/src/decorator/string/IsPostalCode.ts index 507a462c6..5a8a84c1f 100644 --- a/src/decorator/string/IsPostalCode.ts +++ b/src/decorator/string/IsPostalCode.ts @@ -18,7 +18,7 @@ export function isPostalCode(value: unknown, locale: 'any' | ValidatorJS.PostalC * If given value is not a string, then it returns false. */ export function IsPostalCode( - locale?: 'any' | ValidatorJS.PostalCodeLocale, + locale: 'any' | ValidatorJS.PostalCodeLocale, validationOptions?: ValidationOptions ): PropertyDecorator { return ValidateBy(