UNPKG

666 BTypeScriptView Raw
1declare const _default: {
2 (key: string, options?: (import("../addon/services/intl").TOptions & {
3 htmlSafe?: false | undefined;
4 }) | undefined): string;
5 (key: string, options: import("../addon/services/intl").TOptions & {
6 htmlSafe: true;
7 }): string | import("@ember/template/-private/handlebars").SafeString;
8 (key: string, options?: import("../addon/services/intl").TOptions | undefined): string | import("@ember/template/-private/handlebars").SafeString;
9};
10/**
11 * Invokes the `t` method of the `intl` service.
12 *
13 * @function t
14 * @param {string} key
15 * @param {object} [options]
16 * @return {string}
17 */
18export default _default;