aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/lorem.ts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-05-05 00:09:25 +0200
committerGitHub <[email protected]>2022-05-05 00:09:25 +0200
commit984fbb445ff3be3658535bf98916ce5f38943fbf (patch)
treeafab5f5137ee3069690944d11285d6d5a4e2fe35 /src/definitions/lorem.ts
parentf1dba1bb0b90dc5e1e3ee096f937a1d4df6acf03 (diff)
downloadfaker-984fbb445ff3be3658535bf98916ce5f38943fbf.tar.xz
faker-984fbb445ff3be3658535bf98916ce5f38943fbf.zip
fix(generate:locale): make the definition types extendible (#915)
Co-authored-by: Piotr Kuczynski <[email protected]>
Diffstat (limited to 'src/definitions/lorem.ts')
-rw-r--r--src/definitions/lorem.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/definitions/lorem.ts b/src/definitions/lorem.ts
index 202a527f..4d851b30 100644
--- a/src/definitions/lorem.ts
+++ b/src/definitions/lorem.ts
@@ -1,9 +1,11 @@
+import type { LocaleEntry } from './definitions';
+
/**
* The possible definitions related to lorem texts.
*/
-export interface LoremDefinitions {
+export type LoremDefinitions = LocaleEntry<{
/**
* Lorem words used to generate dummy texts.
*/
words: string[];
-}
+}>;