UNPKG

ember-intl

Version:

A internationalization toolbox for ambitious applications.

11 lines (7 loc) 310 B
import BaseHelper from './-format-base'; import IntlService from '../services/intl'; type Params = Parameters<IntlService['formatRelative']>; export default class FormatRelativeHelper extends BaseHelper<Params[0], Params[1]> { allowEmpty: false; format(value: Params[0], options?: Params[1]): string; }