Update API report for @element-hq/element-web-module-api
This commit is contained in:
committed by
GitHub
parent
d51eb5dfd3
commit
30c27af170
@@ -174,10 +174,10 @@ export interface ExtrasApi {
|
|||||||
|
|
||||||
// @public
|
// @public
|
||||||
export interface I18nApi {
|
export interface I18nApi {
|
||||||
humanizeTime(timeMillis: number): string;
|
humanizeTime(this: void, timeMillis: number): string;
|
||||||
get language(): string;
|
get language(): string;
|
||||||
register(translations: Partial<Translations>): void;
|
register(this: void, translations: Partial<Translations>): void;
|
||||||
translate(key: keyof Translations, variables?: Variables): string;
|
translate(this: void, key: keyof Translations, variables?: Variables): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @alpha @deprecated (undocumented)
|
// @alpha @deprecated (undocumented)
|
||||||
@@ -445,3 +445,4 @@ export interface WidgetVariablesCustomisations {
|
|||||||
// (No @packageDocumentation comment for this package)
|
// (No @packageDocumentation comment for this package)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user