From 983db41c039875714b7605e058f8cb6e382df808 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 20 Feb 2025 08:51:11 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Eric Cheng --- src/faker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/faker.ts b/src/faker.ts index 09b6b94f21b..d9e9905bb46 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -122,7 +122,7 @@ export class Faker extends SimpleFaker { * @param options The options to use. * @param options.locale The locale data to use for this instance. * If an array is provided, the first locale that has a definition for a given property will be used. - * Please make sure that all required locales including parent locales are present e.g. `[de_AT, de, en, base]`. + * Please make sure that all required locales and their parent locales are present, e.g. `[de_AT, de, en, base]`. * @param options.randomizer The Randomizer to use. * Specify this only if you want to use it to achieve a specific goal, * such as sharing the same random generator with other instances/tools. @@ -150,7 +150,7 @@ export class Faker extends SimpleFaker { /** * The locale data to use for this instance. * If an array is provided, the first locale that has a definition for a given property will be used. - * Please make sure that all required locales including parent locales are present e.g. `[de_AT, de, en, base]`. + * Please make sure that all required locales and their parent locales are present, e.g. `[de_AT, de, en, base]`. * * @see mergeLocales(): For more information about how the locales are merged. */