From 58fbfe3835b0f27949e7eb262d246eb9d84bb870 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Tue, 15 Feb 2022 16:05:08 +0100 Subject: [PATCH] fix: remove invalid aliases (#488) --- src/random.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/random.ts b/src/random.ts index f3c4ffd196c..50fd4dba1dc 100644 --- a/src/random.ts +++ b/src/random.ts @@ -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. * @@ -297,8 +292,6 @@ export class Random { return this.faker.image.image(); } - readonly randomImage: Random['image'] = this.image.bind(this); - /** * locale * @@ -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 *