File size: 317 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import { Locale } from '../../../locale/config.js'
export const LOCALE_INITIALIZE = 'LOCALE_INITIALIZE'
export type InitializeLocaleResponse = {
type: typeof LOCALE_INITIALIZE;
data: Locale;
}
export const initializeLocale = (data: Locale): InitializeLocaleResponse => ({
type: LOCALE_INITIALIZE,
data,
})
|