Open
Description
export const { t, locale, locales, loading, loadTranslations } = new i18n(config);
locale exposes a svelte store which is used to get/set the locale throughout the app. However, the type on it is weak (string).
It should be possible to infer the locale Type more strongly using the configuration provided?