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 6591982 commit 451ce30Copy full SHA for 451ce30
src/types/index.ts
@@ -13,4 +13,4 @@ export interface ValidatePassportNumber {
13
country: string | null;
14
}
15
16
-export type IsValidFunctions = boolean;
+export type IsValidFunctions = boolean; // nosonar
src/validateEmail.ts
@@ -171,7 +171,7 @@ function getErrorMessage(
171
? errorMsg[index]
172
: defaultErrorMsg[index];
173
if (errorMessage === "Email too big, try again") {
174
- return `Email cannot be greater than ${maxEmailLength} characters`;
+ return `Email cannot be greater than ${maxEmailLength.toString()} characters`;
175
176
return errorMessage ?? defaultErrorMsg[index];
177
0 commit comments