Skip to content

Commit

Permalink
fix: typo(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-w committed Feb 6, 2025
1 parent 9f3ebc5 commit 2c47319
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class Random {
* Samples a uniform random floating point number, optionally specifying
* lower and upper bounds.
*
* Convence wrapper around `random.uniform()`
* Convenience wrapper around `random.uniform()`
*
* @param {number} [min=0] - Lower bound (float, inclusive)
* @param {number} [max=1] - Upper bound (float, exclusive)
Expand All @@ -118,7 +118,7 @@ export class Random {
* Samples a uniform random integer, optionally specifying lower and upper
* bounds.
*
* Convence wrapper around `random.uniformInt()`
* Convenience wrapper around `random.uniformInt()`
*
* @param {number} [min=0] - Lower bound (integer, inclusive)
* @param {number} [max=1] - Upper bound (integer, inclusive)
Expand All @@ -132,7 +132,7 @@ export class Random {
* Samples a uniform random integer, optionally specifying lower and upper
* bounds.
*
* Convence wrapper around `random.uniformInt()`
* Convenience wrapper around `random.uniformInt()`
*
* @alias `random.int`
*
Expand All @@ -147,7 +147,7 @@ export class Random {
/**
* Samples a uniform random boolean value.
*
* Convence wrapper around `random.uniformBoolean()`
* Convenience wrapper around `random.uniformBoolean()`
*
* @alias `random.boolean`
*
Expand All @@ -160,7 +160,7 @@ export class Random {
/**
* Samples a uniform random boolean value.
*
* Convence wrapper around `random.uniformBoolean()`
* Convenience wrapper around `random.uniformBoolean()`
*
* @return {boolean}
*/
Expand All @@ -171,7 +171,7 @@ export class Random {
/**
* Returns an item chosen uniformly at random from the given array.
*
* Convence wrapper around `random.uniformInt()`
* Convenience wrapper around `random.uniformInt()`
*
* @param {Array<T>} [array] - Input array
* @return {T | undefined}
Expand Down

0 comments on commit 2c47319

Please sign in to comment.