Skip to content

Commit

Permalink
v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasZottis committed Sep 24, 2024
1 parent baef846 commit abaca1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dev-toolz.library/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.2",
"version": "1.0.3",
"description": "Biblioteca de funcionalidades gerais usadas no dia a dia de um desenvolvedor",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions dev-toolz.library/src/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export class Random implements IValueGenerator {
this.max = max ?? 9999;
}

private _getRandomNumber(min, max): number {
private _getRandomNumber(min: number, max: number): number {
return Math.random() * (max - min) + min
}

private _getRandomInteger(min, max): number {
private _getRandomInteger(min: number, max: number): number {
min = Math.ceil(min)
max = Math.floor(max)

Expand Down

0 comments on commit abaca1d

Please sign in to comment.