From 8e01a1d55624065cd63e90a22dec67a69e90da3d Mon Sep 17 00:00:00 2001 From: Fabian Meul Date: Tue, 19 Mar 2024 21:46:12 +0100 Subject: [PATCH] fix: type in exceptions.ts --- src/exceptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exceptions.ts b/src/exceptions.ts index 018037f..b283a3e 100644 --- a/src/exceptions.ts +++ b/src/exceptions.ts @@ -25,7 +25,7 @@ export class ValidationError extends Error { * part of the number or required parts are missing. */ export class InvalidFormat extends ValidationError { - constructor(msg = 'The number has an invlidad format.') { + constructor(msg = 'The number has an invalid format.') { super(msg); this.name = 'InvalidFormat'; }