ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
7 lines (6 loc) • 482 B
TypeScript
import type { LocaleService } from './localeService';
export type LocaleTextFunc = (key: string, defaultValue: string, variableValues?: string[]) => string;
export declare function _getLocaleTextFunc(localeSvc?: LocaleService): LocaleTextFunc;
export declare function _translate<T extends Record<string, string | ((variableValues: string[]) => string)>>(bean: {
getLocaleTextFunc(): LocaleTextFunc;
}, localeValues: T, key: keyof T & string, variableValues?: string[]): string;