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