From 5c246588d248be94508dcbbd059b0db0afc686c1 Mon Sep 17 00:00:00 2001 From: santi100a Date: Sat, 1 Apr 2023 21:04:10 -0500 Subject: [PATCH] feat: version 1.1.2 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index d7ed80e..707c15d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ import { export function random(max: number, min: number = 0): number { assertType(max, 'number'); assertType(min, 'number'); - assertInteger(max, 'max'); + assertInteger(max, 'max'); assertInteger(min, 'min'); const CONDITION = max > 0 ? max > min : max > -Infinity; assert(CONDITION, {