UNPKG

658 BTypeScriptView Raw
1import type { Translations } from 'ember-intl/-private/store/translation';
2declare const _default: (localeNameOrTranslations: string | Translations, translations?: Translations | undefined) => void;
3/**
4 * Invokes the `addTranslations` method of the `intl` service. The first
5 * parameter, the `localeName`, is optional and will default to the last
6 * currently enabled locale. This means, that if you invoke this helper with
7 * just translations, they will be added to the last locale and all other
8 * locales will be tried before.
9 *
10 * @function addTranslations
11 * @param {string} [localeName]
12 * @param {object} translations
13 */
14export default _default;