aboutsummaryrefslogtreecommitdiff
path: root/src/definitions
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-05-03 20:50:44 +0200
committerGitHub <[email protected]>2022-05-03 20:50:44 +0200
commit79884641bb89136158bd3ff75e78b89dde32a13c (patch)
tree1213c6b1dc1930ee1355d848122e692f5b40fec9 /src/definitions
parente29e875c6e8c111b74a9e3df63ea723390e7b209 (diff)
downloadfaker-79884641bb89136158bd3ff75e78b89dde32a13c.tar.xz
faker-79884641bb89136158bd3ff75e78b89dde32a13c.zip
chore: remove obsolete DefinitionTypes type (#912)
Diffstat (limited to 'src/definitions')
-rw-r--r--src/definitions/definitions.ts12
-rw-r--r--src/definitions/index.ts2
2 files changed, 1 insertions, 13 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,