Skip to content

Commit

Permalink
feat: version 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
santi100a committed Apr 2, 2023
1 parent 58e381a commit 5c24658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 5c24658

Please sign in to comment.