ember-intl
Version:
A internationalization toolbox for ambitious applications.
11 lines (7 loc) • 308 B
TypeScript
import BaseHelper from './-format-base';
import IntlService from '../services/intl';
type Params = Parameters<IntlService['formatMessage']>;
export default class FormatMessageHelper extends BaseHelper<Params[0], Params[1]> {
allowEmpty: false;
format(value: Params[0], options?: Params[1]): string;
}