Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasZottis committed Sep 24, 2024
1 parent 1cb5034 commit baef846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-toolz.library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dev-toolz.library",
"version": "1.0.1",
"version": "1.0.2",
"description": "Biblioteca de funcionalidades gerais usadas no dia a dia de um desenvolvedor",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion dev-toolz.library/src/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class Random implements IValueGenerator {
generate(): number;
generate(condition: boolean): number;
generate(condition?: boolean): number {
this.int = condition;
this.int = condition ?? false;

if (this.int)
return this._getRandomInteger(this.min, this.max);
Expand Down

0 comments on commit baef846

Please sign in to comment.