aboutsummaryrefslogtreecommitdiff
path: root/src/definitions
diff options
context:
space:
mode:
authorSaurabh kumar <[email protected]>2024-06-13 15:44:46 +0530
committerGitHub <[email protected]>2024-06-13 10:14:46 +0000
commita5ffca1c7863531d459f67cbab7bd9ba34d16904 (patch)
tree14c8100e1e51042319720634b5badb8bd655df85 /src/definitions
parent2a2a13200acd858a2ee45e43072f55888511fb8d (diff)
downloadfaker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.tar.xz
faker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.zip
refactor(locale)!: use singular locale definition keys (#2932)
Diffstat (limited to 'src/definitions')
-rw-r--r--src/definitions/lorem.ts2
-rw-r--r--src/definitions/system.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/definitions/lorem.ts b/src/definitions/lorem.ts
index 88947a87..89265b33 100644
--- a/src/definitions/lorem.ts
+++ b/src/definitions/lorem.ts
@@ -7,5 +7,5 @@ export type LoremDefinition = LocaleEntry<{
/**
* Lorem words used to generate dummy texts.
*/
- words: string[];
+ word: string[];
}>;
diff --git a/src/definitions/system.ts b/src/definitions/system.ts
index 72f5c98a..16578a43 100644
--- a/src/definitions/system.ts
+++ b/src/definitions/system.ts
@@ -7,12 +7,12 @@ export type SystemDefinition = LocaleEntry<{
/**
* Returns some common file paths.
*/
- directory_paths: string[];
+ directory_path: string[];
/**
* The mime type definitions with some additional information.
*/
- mime_types: { [mimeType: string]: SystemMimeTypeEntryDefinition };
+ mime_type: { [mimeType: string]: SystemMimeTypeEntryDefinition };
}>;
/**