Skip to content

Commit

Permalink
docs: remove duplicate deprecation hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Mar 22, 2023
1 parent 046828b commit 0266333
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/faker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,21 +265,21 @@ export class Faker {
}
| {
/**
* DEPRECATED: The locale data to use for this instance.
* The locale data to use for this instance.
*
* @deprecated Use `new Faker({ locale: [locale, localeFallback] })` instead.
*/
locales: Record<string, LocaleDefinition>;
/**
* DEPRECATED: The name of the main locale to use.
* The name of the main locale to use.
*
* @default 'en'
*
* @deprecated Use `new Faker({ locale: [locale, localeFallback] })` instead.
*/
locale?: string;
/**
* DEPRECATED: The name of the fallback locale to use.
* The name of the fallback locale to use.
*
* @default 'en'
*
Expand Down

0 comments on commit 0266333

Please sign in to comment.