From 23ec9d16d1ae5e9a92c49f868e757be1a29c6da2 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 3 May 2022 20:31:11 +0200 Subject: [PATCH] chore: remove obsolete DefinitionTypes type --- src/definitions/definitions.ts | 12 ------------ src/definitions/index.ts | 2 +- src/index.ts | 1 - 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/definitions/definitions.ts b/src/definitions/definitions.ts index 69a6c5cb24f..a338cc836f6 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; -}; diff --git a/src/definitions/index.ts b/src/definitions/index.ts index da01ed15489..70555b0e202 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 8a1d415e46b..7778fda0296 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,6 @@ export type { DatabaseDefinitions, DateDefinitions, DateEntryDefinition, - DefinitionTypes, FinanceCurrencyEntryDefinitions, FinanceDefinitions, HackerDefinitions,