registerLocale(locale, locales) â
registerLocale
used to custom locale.
Reference â
typescript
(
locale: string,
locales: {
time: string
open: string
high: string
low: string
close: string
volume: string
change: string
turnover: string
}
) => void
Parameters â
locale
Locale name.locales
Locale configuration.
Returns â
registerLocale
returns undefined
.