Skip to content

Commit

Permalink
fix: remove invalid aliases (faker-js#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored and demipel8 committed Mar 11, 2022
1 parent f2a3655 commit f87371c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/random.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ export class Random {
return this.faker.random.arrayElement(result.split(' '));
}

/**
* @see word()
*/
readonly randomWord: Random['word'] = this.word.bind(this);

/**
* Returns string with set of random words.
*
Expand Down Expand Up @@ -297,8 +292,6 @@ export class Random {
return this.faker.image.image();
}

readonly randomImage: Random['image'] = this.image.bind(this);

/**
* locale
*
Expand All @@ -308,8 +301,6 @@ export class Random {
return this.faker.random.arrayElement(Object.keys(this.faker.locales));
}

readonly randomLocale: Random['locale'] = this.locale.bind(this);

/**
* alpha. returns lower/upper alpha characters based count and upcase options
*
Expand Down

0 comments on commit f87371c

Please sign in to comment.