diff options
| author | ST-DDT <[email protected]> | 2023-05-01 08:13:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-01 08:13:28 +0200 |
| commit | e9691fb1e84aef1ce75200521761e4c179f41f5c (patch) | |
| tree | 8e3491af4ba3865edec15d0873486e5dd44bd4b8 /src/definitions/commerce.ts | |
| parent | b72d52e5d5501579f6b98629d020292ceaa78c60 (diff) | |
| download | faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.tar.xz faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.zip | |
refactor(types): rename locale definition types to singular (#2058)
Diffstat (limited to 'src/definitions/commerce.ts')
| -rw-r--r-- | src/definitions/commerce.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/definitions/commerce.ts b/src/definitions/commerce.ts index bde1e849..8b6a1e61 100644 --- a/src/definitions/commerce.ts +++ b/src/definitions/commerce.ts @@ -3,7 +3,7 @@ import type { LocaleEntry } from './definitions'; /** * The possible definitions related to commerce. */ -export type CommerceDefinitions = LocaleEntry<{ +export type CommerceDefinition = LocaleEntry<{ /** * Department names inside a shop. */ @@ -12,7 +12,7 @@ export type CommerceDefinitions = LocaleEntry<{ /** * Product name generation definitions. */ - product_name: CommerceProductNameDefinitions; + product_name: CommerceProductNameDefinition; /** * Descriptions for products. @@ -23,7 +23,7 @@ export type CommerceDefinitions = LocaleEntry<{ /** * The possible definitions related to product name generation. */ -export interface CommerceProductNameDefinitions { +export interface CommerceProductNameDefinition { /** * Adjectives describing a product (e.g. tasty). */ |
