@vaadin/hilla-react-i18n
Version:
Hilla I18n utils for React
8 lines (7 loc) • 390 B
TypeScript
import type { TranslationsResult } from "./types.js";
export interface I18nBackend {
loadTranslations(language: string, chunks?: readonly string[], keys?: readonly string[]): Promise<TranslationsResult>;
}
export declare class DefaultBackend implements I18nBackend {
loadTranslations(language: string, chunks?: readonly string[], keys?: readonly string[]): Promise<TranslationsResult>;
}