UNPKG

ember-intl

Version:

Internationalization for Ember projects

18 lines 654 B
import Helper from '@ember/component/helper'; import type IntlService from '../services/intl.ts'; type FormatParameters = Parameters<IntlService['formatDate']>; type Value = FormatParameters[0]; type Options = FormatParameters[1]; interface FormatDateSignature { Args: { Named?: Options; Positional: [Value]; }; Return: string; } export default class FormatDateHelper extends Helper<FormatDateSignature> { intl: IntlService; compute([value]: FormatDateSignature['Args']['Positional'], options: FormatDateSignature['Args']['Named']): FormatDateSignature['Return']; } export {}; //# sourceMappingURL=format-date.d.ts.map