Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import { derived } from 'svelte/store';
  2. import { dictionary, locale, _ } from 'svelte-i18n';
  3.  
  4. // ...
  5.  
  6. const isLocaleLoaded = derived(locale, $locale => typeof $locale === 'string');
  7.  
  8. export { _, setupI18n, isLocaleLoaded };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement