ember-intl
Version:
Internationalization for Ember projects
18 lines • 654 B
TypeScript
import Helper from '@ember/component/helper';
import type IntlService from '../services/intl.ts';
type FormatParameters = Parameters<IntlService['formatList']>;
type Value = FormatParameters[0];
type Options = FormatParameters[1];
interface FormatListSignature {
Args: {
Named?: Options;
Positional: [Value];
};
Return: string;
}
export default class FormatListHelper extends Helper<FormatListSignature> {
intl: IntlService;
compute([value]: FormatListSignature['Args']['Positional'], options: FormatListSignature['Args']['Named']): FormatListSignature['Return'];
}
export {};
//# sourceMappingURL=format-list.d.ts.map