diff --git a/src/index.ts b/src/index.ts index d50e3c77..35d697af 100644 --- a/src/index.ts +++ b/src/index.ts @@ -71,7 +71,7 @@ export function ms( export function parse(str: string): number { if (typeof str !== 'string' || str.length === 0 || str.length > 100) { throw new Error( - `Value provided to ms.parse() must be a string with length between 1 and 99. value=${JSON.stringify(str)}`, + `Value provided to ms.parse() must be a string with length between 1 and 100. value=${JSON.stringify(str)}`, ); } const match =