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/locales/th | |
| parent | b72d52e5d5501579f6b98629d020292ceaa78c60 (diff) | |
| download | faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.tar.xz faker-e9691fb1e84aef1ce75200521761e4c179f41f5c.zip | |
refactor(types): rename locale definition types to singular (#2058)
Diffstat (limited to 'src/locales/th')
| -rw-r--r-- | src/locales/th/animal/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/color/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/date/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/internet/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/location/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/metadata.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/person/index.ts | 4 | ||||
| -rw-r--r-- | src/locales/th/phone_number/index.ts | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/src/locales/th/animal/index.ts b/src/locales/th/animal/index.ts index c5f2de5b..205c9312 100644 --- a/src/locales/th/animal/index.ts +++ b/src/locales/th/animal/index.ts @@ -2,11 +2,11 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { AnimalDefinitions } from '../../..'; +import type { AnimalDefinition } from '../../..'; import cat from './cat'; import dog from './dog'; -const animal: AnimalDefinitions = { +const animal: AnimalDefinition = { cat, dog, }; diff --git a/src/locales/th/color/index.ts b/src/locales/th/color/index.ts index 79cc39f0..e7cf1e89 100644 --- a/src/locales/th/color/index.ts +++ b/src/locales/th/color/index.ts @@ -2,10 +2,10 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { ColorDefinitions } from '../../..'; +import type { ColorDefinition } from '../../..'; import human from './human'; -const color: ColorDefinitions = { +const color: ColorDefinition = { human, }; diff --git a/src/locales/th/date/index.ts b/src/locales/th/date/index.ts index cd296b42..a28ce823 100644 --- a/src/locales/th/date/index.ts +++ b/src/locales/th/date/index.ts @@ -2,11 +2,11 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { DateDefinitions } from '../../..'; +import type { DateDefinition } from '../../..'; import month from './month'; import weekday from './weekday'; -const date: DateDefinitions = { +const date: DateDefinition = { month, weekday, }; diff --git a/src/locales/th/internet/index.ts b/src/locales/th/internet/index.ts index 5726872b..85d7e9d2 100644 --- a/src/locales/th/internet/index.ts +++ b/src/locales/th/internet/index.ts @@ -2,10 +2,10 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { InternetDefinitions } from '../../..'; +import type { InternetDefinition } from '../../..'; import domain_suffix from './domain_suffix'; -const internet: InternetDefinitions = { +const internet: InternetDefinition = { domain_suffix, }; diff --git a/src/locales/th/location/index.ts b/src/locales/th/location/index.ts index d475029f..429bf0ba 100644 --- a/src/locales/th/location/index.ts +++ b/src/locales/th/location/index.ts @@ -2,7 +2,7 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { LocationDefinitions } from '../../..'; +import type { LocationDefinition } from '../../..'; import building_number from './building_number'; import city_name from './city_name'; import city_pattern from './city_pattern'; @@ -15,7 +15,7 @@ import state from './state'; import street_name from './street_name'; import street_pattern from './street_pattern'; -const location: LocationDefinitions = { +const location: LocationDefinition = { building_number, city_name, city_pattern, diff --git a/src/locales/th/metadata.ts b/src/locales/th/metadata.ts index ae53d4ac..073ef7bb 100644 --- a/src/locales/th/metadata.ts +++ b/src/locales/th/metadata.ts @@ -1,6 +1,6 @@ -import type { PreBuiltMetadataDefinitions } from '../../definitions/metadata'; +import type { PreBuiltMetadataDefinition } from '../../definitions/metadata'; -const metadata: PreBuiltMetadataDefinitions = { +const metadata: PreBuiltMetadataDefinition = { title: 'Thai', code: 'th', language: 'th', diff --git a/src/locales/th/person/index.ts b/src/locales/th/person/index.ts index fe62eec0..5cf85368 100644 --- a/src/locales/th/person/index.ts +++ b/src/locales/th/person/index.ts @@ -2,7 +2,7 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { PersonDefinitions } from '../../..'; +import type { PersonDefinition } from '../../..'; import female_first_name from './female_first_name'; import female_prefix from './female_prefix'; import last_name from './last_name'; @@ -12,7 +12,7 @@ import name_ from './name'; import prefix from './prefix'; import sex from './sex'; -const person: PersonDefinitions = { +const person: PersonDefinition = { female_first_name, female_prefix, last_name, diff --git a/src/locales/th/phone_number/index.ts b/src/locales/th/phone_number/index.ts index bf48a8b5..1d7f77f1 100644 --- a/src/locales/th/phone_number/index.ts +++ b/src/locales/th/phone_number/index.ts @@ -2,10 +2,10 @@ * This file is automatically generated. * Run 'pnpm run generate:locales' to update. */ -import type { PhoneNumberDefinitions } from '../../..'; +import type { PhoneNumberDefinition } from '../../..'; import formats from './formats'; -const phone_number: PhoneNumberDefinitions = { +const phone_number: PhoneNumberDefinition = { formats, }; |
