@hashicorp/design-system-components
Version:
Helios Design System Components
16 lines (15 loc) • 449 B
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import Service from '@ember/service';
import type { IntlService } from 'ember-intl';
type IntlTOptions = Parameters<IntlService['t']>[1];
export type HdsIntlTOptions = IntlTOptions & {
default: string;
};
export default class HdsIntlService extends Service {
get intl(): IntlService | undefined;
t(key: string, options: HdsIntlTOptions): string;
}
export {};