Merge pull request #137 from element-hq/dbkr/human_eyes
Add humanizeTime to the module i18n API
This commit is contained in:
@@ -173,6 +173,7 @@ export interface ExtrasApi {
|
||||
|
||||
// @public
|
||||
export interface I18nApi {
|
||||
humanizeTime(timeMillis: number): string;
|
||||
get language(): string;
|
||||
register(translations: Partial<Translations>): void;
|
||||
translate(key: keyof Translations, variables?: Variables): string;
|
||||
|
||||
Reference in New Issue
Block a user