diff --git a/framework/core/js/dist-typings/admin/components/LoadingModal.d.ts b/framework/core/js/dist-typings/admin/components/LoadingModal.d.ts
index 100e4f8e2..1fab01002 100644
--- a/framework/core/js/dist-typings/admin/components/LoadingModal.d.ts
+++ b/framework/core/js/dist-typings/admin/components/LoadingModal.d.ts
@@ -1,3 +1,4 @@
+///
import Modal from '../../common/components/Modal';
export default class LoadingModal extends Modal {
/**
@@ -5,7 +6,7 @@ export default class LoadingModal extends Modal {
*/
static readonly isDismissible: boolean;
className(): string;
- title(): any;
+ title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
content(): string;
onsubmit(e: Event): void;
}
diff --git a/framework/core/js/dist-typings/admin/components/UserListPage.d.ts b/framework/core/js/dist-typings/admin/components/UserListPage.d.ts
index 87e1bc19b..d2f047eb2 100644
--- a/framework/core/js/dist-typings/admin/components/UserListPage.d.ts
+++ b/framework/core/js/dist-typings/admin/components/UserListPage.d.ts
@@ -1,3 +1,4 @@
+///
///
import type User from '../../common/models/User';
import ItemList from '../../common/utils/ItemList';
@@ -65,8 +66,8 @@ export default class UserListPage extends AdminPage {
headerInfo(): {
className: string;
icon: string;
- title: any;
- description: any;
+ title: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
+ description: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
};
/**
* Asynchronously fetch the next set of users to be rendered.
diff --git a/framework/core/js/dist-typings/common/Translator.d.ts b/framework/core/js/dist-typings/common/Translator.d.ts
index ac109f825..75f4c9955 100644
--- a/framework/core/js/dist-typings/common/Translator.d.ts
+++ b/framework/core/js/dist-typings/common/Translator.d.ts
@@ -1,3 +1,6 @@
+///
+import { RichMessageFormatter } from '@askvortsov/rich-icu-message-formatter';
+import { pluralTypeHandler, selectTypeHandler } from '@ultraq/icu-message-formatter';
declare type Translations = Record;
declare type TranslatorParameters = Record;
export default class Translator {
@@ -8,15 +11,15 @@ export default class Translator {
/**
* The underlying ICU MessageFormatter util.
*/
- protected formatter: any;
+ protected formatter: RichMessageFormatter;
setLocale(locale: string): void;
addTranslations(translations: Translations): void;
/**
* An extensible entrypoint for extenders to register type handlers for translations.
*/
protected formatterTypeHandlers(): {
- plural: any;
- select: any;
+ plural: typeof pluralTypeHandler;
+ select: typeof selectTypeHandler;
};
/**
* A temporary system to preprocess parameters.
@@ -26,6 +29,6 @@ export default class Translator {
* @internal
*/
protected preprocessParameters(parameters: TranslatorParameters): TranslatorParameters;
- trans(id: string, parameters?: TranslatorParameters): any;
+ trans(id: string, parameters?: TranslatorParameters): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
}
export {};