aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/fake/index.ts2
-rw-r--r--src/modules/helpers/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/fake/index.ts b/src/modules/fake/index.ts
index a60acd5b..64d3bab2 100644
--- a/src/modules/fake/index.ts
+++ b/src/modules/fake/index.ts
@@ -57,7 +57,7 @@ export class Fake {
* faker.fake('This is static test.') // 'This is static test.'
* faker.fake('Good Morning {{name.firstName}}!') // 'Good Morning Estelle!'
* faker.fake('You can call me at {{phone.number(!## ### #####!)}}.') // 'You can call me at 202 555 973722.'
- * faker.fake('I flipped the coin an got: {{helpers.arrayElement(["heads", "tails"])}}') // 'I flipped the coin an got: tails'
+ * faker.fake('I flipped the coin and got: {{helpers.arrayElement(["heads", "tails"])}}') // 'I flipped the coin and got: tails'
*
* @deprecated Use faker.helpers.fake() instead.
*/
diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts
index b4d73b2e..6f94fe63 100644
--- a/src/modules/helpers/index.ts
+++ b/src/modules/helpers/index.ts
@@ -495,7 +495,7 @@ export class Helpers {
* faker.helpers.fake('This is static test.') // 'This is static test.'
* faker.helpers.fake('Good Morning {{name.firstName}}!') // 'Good Morning Estelle!'
* faker.helpers.fake('You can call me at {{phone.number(!## ### #####!)}}.') // 'You can call me at 202 555 973722.'
- * faker.helpers.fake('I flipped the coin an got: {{helpers.arrayElement(["heads", "tails"])}}') // 'I flipped the coin an got: tails'
+ * faker.helpers.fake('I flipped the coin and got: {{helpers.arrayElement(["heads", "tails"])}}') // 'I flipped the coin and got: tails'
*/
fake(str: string): string {
// if incoming str parameter is not provided, return error message