From f5edb5743ab6f3e02c733211bfe88a44efac7f66 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:37:02 +0700 Subject: [PATCH 1/2] docs(internet): fix typo in deprecation warning for internet.color --- src/modules/internet/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index 08ed60b6b4f..ad68c5ddc6a 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -1123,7 +1123,7 @@ export class InternetModule extends ModuleBase { * * @since 2.0.1 * - * @deprecated Use `faker.internet.color({ redbase, greenBase, blueBase })` instead. + * @deprecated Use `faker.internet.color({ redBase, greenBase, blueBase })` instead. */ color(redBase?: number, greenBase?: number, blueBase?: number): string; /** From 5404ac86946e8fd8e124efa00905a8e17c28bcba Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:52:47 +0700 Subject: [PATCH 2/2] fix another error --- src/modules/internet/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index ad68c5ddc6a..94851a536f3 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -356,7 +356,7 @@ export class InternetModule extends ModuleBase { * * @since 3.1.0 * - * @deprecated Use `faker.internet.exampleEmail({ firstName: lastName, ... })` instead. + * @deprecated Use `faker.internet.exampleEmail({ firstName, lastName, ... })` instead. */ exampleEmail( firstName?: string,