UNPKG

@antv/g2plot

Version:

An interactive and responsive charting library

16 lines (15 loc) 387 B
import { Locale } from '../types/locale'; /** * register a locale * @param locale * @param localeObj */ export declare function registerLocale(locale: string, localeObj: Locale): void; /** * get locale of specific language * @param lang * @returns */ export declare function getLocale(locale: string): { get: (key: string | string[], obj?: Record<string, any>) => string; };