We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea279b commit bf9b9e4Copy full SHA for bf9b9e4
src/decorator/string/IsPostalCode.ts
@@ -18,7 +18,7 @@ export function isPostalCode(value: unknown, locale: 'any' | ValidatorJS.PostalC
18
* If given value is not a string, then it returns false.
19
*/
20
export function IsPostalCode(
21
- locale?: 'any' | ValidatorJS.PostalCodeLocale,
+ locale: 'any' | ValidatorJS.PostalCodeLocale,
22
validationOptions?: ValidationOptions
23
): PropertyDecorator {
24
return ValidateBy(
0 commit comments