aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/date.ts
diff options
context:
space:
mode:
authorHanna <[email protected]>2022-07-27 02:22:59 +0200
committerGitHub <[email protected]>2022-07-27 00:22:59 +0000
commite007abbc03d4c27e9c487a3f281eb7f9914488c8 (patch)
treef119618f117261a31cc9cc6b1fa342a88915e0db /src/definitions/date.ts
parent22a050e86fd4fb04e4232a9e57fb1602fd3944cc (diff)
downloadfaker-e007abbc03d4c27e9c487a3f281eb7f9914488c8.tar.xz
faker-e007abbc03d4c27e9c487a3f281eb7f9914488c8.zip
docs(definitions): minor formatting to definitions' types (#1172)
Diffstat (limited to 'src/definitions/date.ts')
-rw-r--r--src/definitions/date.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/definitions/date.ts b/src/definitions/date.ts
index 2f014f55..b3563582 100644
--- a/src/definitions/date.ts
+++ b/src/definitions/date.ts
@@ -8,6 +8,7 @@ export type DateDefinitions = LocaleEntry<{
* The translations for months (January - December).
*/
month: DateEntryDefinition;
+
/**
* The translations for weekdays (Sunday - Saturday).
*/
@@ -22,15 +23,18 @@ export interface DateEntryDefinition {
* The long name of the entry.
*/
wide: string[];
+
/**
* The short name/abbreviation of the entry.
*/
abbr: string[];
+
/**
* The wide name of the entry when used in context. If absent wide will be used instead.
* It is used to specify a word in context, which may differ from a stand-alone word.
*/
wide_context?: string[];
+
/**
* The short name/abbreviation name of the entry when used in context. If absent abbr will be used instead.
* It is used to specify a word in context, which may differ from a stand-alone word.