Skip to content

Commit 23ec9d1

Browse files
committed
chore: remove obsolete DefinitionTypes type
1 parent e29e875 commit 23ec9d1

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

src/definitions/definitions.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,3 @@ export type LocaleDefinition = {
5656
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5757
[group: string]: any;
5858
};
59-
60-
/**
61-
* Internal: Compatibility type to ensure all modules have access to fallback locales.
62-
* This should be replaced with a Proxy based property access
63-
* that don't require prior getter generation in the future.
64-
*/
65-
export type DefinitionTypes = {
66-
readonly title: 'metadata';
67-
readonly separator: 'metadata';
68-
} & {
69-
readonly [module in keyof Definitions]: Array<keyof Definitions[module]>;
70-
};

src/definitions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type {
77
export type { CompanyDefinitions } from './company';
88
export type { DatabaseDefinitions } from './database';
99
export type { DateDefinitions, DateEntryDefinition } from './date';
10-
export type { DefinitionTypes, LocaleDefinition } from './definitions';
10+
export type { LocaleDefinition } from './definitions';
1111
export type {
1212
FinanceCurrencyEntryDefinitions,
1313
FinanceDefinitions,

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export type {
1010
DatabaseDefinitions,
1111
DateDefinitions,
1212
DateEntryDefinition,
13-
DefinitionTypes,
1413
FinanceCurrencyEntryDefinitions,
1514
FinanceDefinitions,
1615
HackerDefinitions,

0 commit comments

Comments
 (0)