Skip to content

Commit f87371c

Browse files
Shinigami92demipel8
authored andcommitted
fix: remove invalid aliases (faker-js#488)
1 parent f2a3655 commit f87371c

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/random.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,6 @@ export class Random {
256256
return this.faker.random.arrayElement(result.split(' '));
257257
}
258258

259-
/**
260-
* @see word()
261-
*/
262-
readonly randomWord: Random['word'] = this.word.bind(this);
263-
264259
/**
265260
* Returns string with set of random words.
266261
*
@@ -297,8 +292,6 @@ export class Random {
297292
return this.faker.image.image();
298293
}
299294

300-
readonly randomImage: Random['image'] = this.image.bind(this);
301-
302295
/**
303296
* locale
304297
*
@@ -308,8 +301,6 @@ export class Random {
308301
return this.faker.random.arrayElement(Object.keys(this.faker.locales));
309302
}
310303

311-
readonly randomLocale: Random['locale'] = this.locale.bind(this);
312-
313304
/**
314305
* alpha. returns lower/upper alpha characters based count and upcase options
315306
*

0 commit comments

Comments
 (0)