chore: initial commit
This commit is contained in:
7
frontend/packages/lib-shared/locale/helper.ts
Normal file
7
frontend/packages/lib-shared/locale/helper.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { LocaleType } from '@lib/shared/types/global';
|
||||
|
||||
export const loadLocalePool: LocaleType[] = [];
|
||||
|
||||
export function setLoadLocalePool(cb: (lp: LocaleType[]) => void) {
|
||||
cb(loadLocalePool);
|
||||
}
|
||||
Reference in New Issue
Block a user