diff --git a/extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts b/extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts index de773e6e90..53dfd88b48 100644 --- a/extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts +++ b/extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts @@ -1,15 +1,15 @@ /// -export default class FlagPostModal { +export default class FlagPostModal extends FormModal { + constructor(); oninit(vnode: any): void; success: boolean | undefined; reason: Stream | undefined; reasonDetail: Stream | undefined; - className(): string; title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray; content(): JSX.Element; flagReasons(): ItemList; onsubmit(e: any): void; - loading: boolean | undefined; } +import FormModal from "flarum/common/components/FormModal"; import Stream from "flarum/common/utils/Stream"; import ItemList from "flarum/common/utils/ItemList"; diff --git a/extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts b/extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts index c7bbe7a00e..def295fa02 100644 --- a/extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts +++ b/extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts @@ -57,7 +57,7 @@ export default class TagSelectionModal): void; className(): string; - title(): any; + title(): string | undefined; content(): JSX.Element | JSX.Element[]; /** * Filters the available tags on every state change. @@ -93,8 +93,8 @@ export default class TagSelectionModal; + protected getCurrentNumericIndex(): number; + protected getItem(selectedTag: Tag): JQuery; protected setIndex(index: number, scrollToItem: boolean): void; } diff --git a/framework/core/js/dist-typings/admin/components/AdminPage.d.ts b/framework/core/js/dist-typings/admin/components/AdminPage.d.ts index 0d7f37f1f9..4c63a3689b 100644 --- a/framework/core/js/dist-typings/admin/components/AdminPage.d.ts +++ b/framework/core/js/dist-typings/admin/components/AdminPage.d.ts @@ -48,13 +48,13 @@ declare const ImageUploadSettingType: "image-upload"; * Valid options for the setting component builder to generate a Switch. */ export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof BooleanSettingTypes[number]; + type: (typeof BooleanSettingTypes)[number]; } /** * Valid options for the setting component builder to generate a Select dropdown. */ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof SelectSettingTypes[number]; + type: (typeof SelectSettingTypes)[number]; /** * Map of values to their labels */ @@ -67,7 +67,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions * Valid options for the setting component builder to generate a Textarea. */ export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions { - type: typeof TextareaSettingTypes[number]; + type: (typeof TextareaSettingTypes)[number]; } /** * Valid options for the setting component builder to generate a ColorPreviewInput.