magner
Version:
Universal admin panel magnetic to any backend
8 lines (7 loc) • 361 B
TypeScript
import { I18n } from 'vue-i18n';
import type { TranslationConfig } from '../../types/configs/translation';
export type TranslationController = () => {
i18n: I18n;
config: TranslationConfig<any>;
};
export declare const translationController: <SUPPORTED_LANGUAGES extends string>(config: TranslationConfig<SUPPORTED_LANGUAGES>) => TranslationController;