ember-intl
Version:
Internationalization for Ember projects
13 lines (12 loc) • 451 B
TypeScript
import type { Translations } from 'ember-intl/-private/utils/translations';
/**
* In addition to the `hooks` object, you must specify the locale
* under which your tests make sense.
*
* You may pass a `translations` object to stub the translations.
*
* @param {object} hooks
* @param {string} locale
* @param {object} [translations]
*/
export declare function setupIntl(hooks: NestedHooks, locale: string, translations?: Translations): void;