Add return type for mixedNumerics function
This commit is contained in:
parent
bc0b2241de
commit
c02e794b0d
|
@ -45,7 +45,7 @@ function detectScript(character: string): string {
|
|||
return s;
|
||||
}
|
||||
|
||||
function mixedNumerics(validationString: string) {
|
||||
function mixedNumerics(validationString: string): boolean {
|
||||
const result: string[] = [];
|
||||
for (const character of validationString) {
|
||||
if (numeric.test(character)) {
|
||||
|
|
Loading…
Reference in New Issue