diff options
| author | ST-DDT <[email protected]> | 2022-05-03 20:50:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-03 20:50:44 +0200 |
| commit | 79884641bb89136158bd3ff75e78b89dde32a13c (patch) | |
| tree | 1213c6b1dc1930ee1355d848122e692f5b40fec9 | |
| parent | e29e875c6e8c111b74a9e3df63ea723390e7b209 (diff) | |
| download | faker-79884641bb89136158bd3ff75e78b89dde32a13c.tar.xz faker-79884641bb89136158bd3ff75e78b89dde32a13c.zip | |
chore: remove obsolete DefinitionTypes type (#912)
| -rw-r--r-- | src/definitions/definitions.ts | 12 | ||||
| -rw-r--r-- | src/definitions/index.ts | 2 | ||||
| -rw-r--r-- | src/index.ts | 1 |
3 files changed, 1 insertions, 14 deletions
diff --git a/src/definitions/definitions.ts b/src/definitions/definitions.ts index 69a6c5cb..a338cc83 100644 --- a/src/definitions/definitions.ts +++ b/src/definitions/definitions.ts @@ -56,15 +56,3 @@ export type LocaleDefinition = { // eslint-disable-next-line @typescript-eslint/no-explicit-any [group: string]: any; }; - -/** - * Internal: Compatibility type to ensure all modules have access to fallback locales. - * This should be replaced with a Proxy based property access - * that don't require prior getter generation in the future. - */ -export type DefinitionTypes = { - readonly title: 'metadata'; - readonly separator: 'metadata'; -} & { - readonly [module in keyof Definitions]: Array<keyof Definitions[module]>; -}; diff --git a/src/definitions/index.ts b/src/definitions/index.ts index da01ed15..70555b0e 100644 --- a/src/definitions/index.ts +++ b/src/definitions/index.ts @@ -7,7 +7,7 @@ export type { export type { CompanyDefinitions } from './company'; export type { DatabaseDefinitions } from './database'; export type { DateDefinitions, DateEntryDefinition } from './date'; -export type { DefinitionTypes, LocaleDefinition } from './definitions'; +export type { LocaleDefinition } from './definitions'; export type { FinanceCurrencyEntryDefinitions, FinanceDefinitions, diff --git a/src/index.ts b/src/index.ts index 8a1d415e..7778fda0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,6 @@ export type { DatabaseDefinitions, DateDefinitions, DateEntryDefinition, - DefinitionTypes, FinanceCurrencyEntryDefinitions, FinanceDefinitions, HackerDefinitions, |
