From c02e794b0db94a09cb4ee68fca8265b850983d88 Mon Sep 17 00:00:00 2001 From: Matthew Lilley Date: Thu, 10 May 2018 10:25:33 +0100 Subject: [PATCH] Add return type for mixedNumerics function --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f836d96..6e0a519 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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)) {