diff --git a/src/__exports/index.ts b/src/__exports/index.ts index f184eb1..f18f4a0 100644 --- a/src/__exports/index.ts +++ b/src/__exports/index.ts @@ -1 +1 @@ -export { createI17n, type Translations, type Interpolations, type i17nConfig } from '@src/core/create-i17n'; +export { createI17n, type Translations, type Interpolations, type I17nConfig } from '@src/core/create-i17n'; diff --git a/src/core/create-i17n.ts b/src/core/create-i17n.ts index 5b4abba..022d721 100644 --- a/src/core/create-i17n.ts +++ b/src/core/create-i17n.ts @@ -18,7 +18,7 @@ export interface i17n { extend: (extended: Translations) => void; } -export interface i17nConfig { +export interface I17nConfig { /** * The core { key: value } translations. */ @@ -76,7 +76,7 @@ function buildCountValueKey(k: string, count: number): string { /** * Initialize the core i17n instance. */ -export function createI17n(config: i17nConfig): i17n { +export function createI17n(config: I17nConfig): i17n { const cache = config.cache || new Map(); let translations: Translations = config.translations; const loggingEnabled = Boolean(config.loggingEnabled);