aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/ext/dictionary-importer.d.ts2
-rw-r--r--types/ext/dictionary-worker.d.ts2
-rw-r--r--types/ext/display-audio.d.ts4
-rw-r--r--types/ext/display.d.ts8
-rw-r--r--types/ext/event-listener-collection.d.ts2
-rw-r--r--types/ext/generic-setting-controller.d.ts2
-rw-r--r--types/ext/popup.d.ts6
-rw-r--r--types/ext/settings-controller.d.ts6
-rw-r--r--types/ext/simple-dom-parser.d.ts5
-rw-r--r--types/ext/text-scanner.d.ts2
-rw-r--r--types/ext/translation-internal.d.ts2
-rw-r--r--types/ext/translator.d.ts4
-rw-r--r--types/other/globals.d.ts2
13 files changed, 23 insertions, 24 deletions
diff --git a/types/ext/dictionary-importer.d.ts b/types/ext/dictionary-importer.d.ts
index de85d04a..5ae20dd1 100644
--- a/types/ext/dictionary-importer.d.ts
+++ b/types/ext/dictionary-importer.d.ts
@@ -15,8 +15,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as Ajv from 'ajv';
import type * as ZipJS from '@zip.js/zip.js';
+import type * as Ajv from 'ajv';
import type * as DictionaryData from './dictionary-data';
import type * as DictionaryDatabase from './dictionary-database';
import type * as StructuredContent from './structured-content';
diff --git a/types/ext/dictionary-worker.d.ts b/types/ext/dictionary-worker.d.ts
index 570d37cd..17030691 100644
--- a/types/ext/dictionary-worker.d.ts
+++ b/types/ext/dictionary-worker.d.ts
@@ -16,8 +16,8 @@
*/
import type * as Core from './core';
-import type * as DictionaryImporter from './dictionary-importer';
import type * as DictionaryDatabase from './dictionary-database';
+import type * as DictionaryImporter from './dictionary-importer';
export type InvokeDetails<TResponseRaw = unknown, TResponse = unknown> = {
complete: boolean;
diff --git a/types/ext/display-audio.d.ts b/types/ext/display-audio.d.ts
index 759e5ee6..c9590cf2 100644
--- a/types/ext/display-audio.d.ts
+++ b/types/ext/display-audio.d.ts
@@ -15,10 +15,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import type {TextToSpeechAudio} from '../../ext/js/media/text-to-speech-audio';
import type * as Audio from './audio';
-import type * as Settings from './settings';
import type * as AudioDownloader from './audio-downloader';
-import type {TextToSpeechAudio} from '../../ext/js/media/text-to-speech-audio';
+import type * as Settings from './settings';
export type CacheItem = {
sourceMap: Map<number, CachedInfoList>;
diff --git a/types/ext/display.d.ts b/types/ext/display.d.ts
index 533fc441..aa0f0353 100644
--- a/types/ext/display.d.ts
+++ b/types/ext/display.d.ts
@@ -15,16 +15,16 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import type {DisplayContentManager} from '../../ext/js/display/display-content-manager';
+import type {HotkeyHelpController} from '../../ext/js/input/hotkey-help-controller';
+import type {JapaneseUtil} from '../../ext/js/language/sandbox/japanese-util';
+import type {TextScanner} from '../../ext/js/language/text-scanner';
import type * as Core from './core';
import type * as Dictionary from './dictionary';
import type * as Extension from './extension';
import type * as Settings from './settings';
import type * as TextScannerTypes from './text-scanner';
import type * as TextSource from './text-source';
-import type {DisplayContentManager} from '../../ext/js/display/display-content-manager';
-import type {HotkeyHelpController} from '../../ext/js/input/hotkey-help-controller';
-import type {JapaneseUtil} from '../../ext/js/language/sandbox/japanese-util';
-import type {TextScanner} from '../../ext/js/language/text-scanner';
export type HistoryMode = 'clear' | 'overwrite' | 'new';
diff --git a/types/ext/event-listener-collection.d.ts b/types/ext/event-listener-collection.d.ts
index eee05658..988baa76 100644
--- a/types/ext/event-listener-collection.d.ts
+++ b/types/ext/event-listener-collection.d.ts
@@ -15,8 +15,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as Core from './core';
import type {EventDispatcher} from '../../ext/js/core';
+import type * as Core from './core';
export type EventListenerFunction = (...args: Core.SafeAny[]) => unknown;
diff --git a/types/ext/generic-setting-controller.d.ts b/types/ext/generic-setting-controller.d.ts
index 5e3435c5..f7a2be5f 100644
--- a/types/ext/generic-setting-controller.d.ts
+++ b/types/ext/generic-setting-controller.d.ts
@@ -15,8 +15,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as SettingsModifications from './settings-modifications';
import type * as DocumentUtil from './document-util';
+import type * as SettingsModifications from './settings-modifications';
export type TransformType = TransformData['type'];
diff --git a/types/ext/popup.d.ts b/types/ext/popup.d.ts
index aaeb676a..65725f96 100644
--- a/types/ext/popup.d.ts
+++ b/types/ext/popup.d.ts
@@ -15,12 +15,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as DocumentUtil from './document-util';
-import type * as Settings from './settings';
-import type {FrameOffsetForwarder} from '../../ext/js/comm/frame-offset-forwarder';
import type {Popup} from '../../ext/js/app/popup';
import type {PopupProxy} from '../../ext/js/app/popup-proxy';
import type {PopupWindow} from '../../ext/js/app/popup-window';
+import type {FrameOffsetForwarder} from '../../ext/js/comm/frame-offset-forwarder';
+import type * as DocumentUtil from './document-util';
+import type * as Settings from './settings';
export type PopupAny = Popup | PopupWindow | PopupProxy;
diff --git a/types/ext/settings-controller.d.ts b/types/ext/settings-controller.d.ts
index 37399bc3..697de878 100644
--- a/types/ext/settings-controller.d.ts
+++ b/types/ext/settings-controller.d.ts
@@ -15,12 +15,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as Core from './core';
-import type * as Settings from './settings';
-import type * as SettingsModifications from './settings-modifications';
import type {DictionaryController} from '../../ext/js/pages/settings/dictionary-controller';
import type {ScanInputsController} from '../../ext/js/pages/settings/scan-inputs-controller';
import type {ScanInputsSimpleController} from '../../ext/js/pages/settings/scan-inputs-simple-controller';
+import type * as Core from './core';
+import type * as Settings from './settings';
+import type * as SettingsModifications from './settings-modifications';
export type PageExitPrevention = {
end: () => void;
diff --git a/types/ext/simple-dom-parser.d.ts b/types/ext/simple-dom-parser.d.ts
index 5fefe69d..d9ae3898 100644
--- a/types/ext/simple-dom-parser.d.ts
+++ b/types/ext/simple-dom-parser.d.ts
@@ -16,9 +16,8 @@
*/
export type {
- Document as Parse5Document,
- Element as Parse5Element,
- ChildNode as Parse5ChildNode,
+ ChildNode as Parse5ChildNode, Document as Parse5Document,
+ Element as Parse5Element
} from 'parse5/dist/tree-adapters/default';
/**
diff --git a/types/ext/text-scanner.d.ts b/types/ext/text-scanner.d.ts
index 5ff62819..4ec7f204 100644
--- a/types/ext/text-scanner.d.ts
+++ b/types/ext/text-scanner.d.ts
@@ -15,12 +15,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import type {TextScanner} from '../../ext/js/language/text-scanner';
import type * as Dictionary from './dictionary';
import type * as Display from './display';
import type * as Input from './input';
import type * as Settings from './settings';
import type * as TextSource from './text-source';
-import type {TextScanner} from '../../ext/js/language/text-scanner';
export type SearchResultDetail = {
documentTitle: string;
diff --git a/types/ext/translation-internal.d.ts b/types/ext/translation-internal.d.ts
index 00f51b05..784a5979 100644
--- a/types/ext/translation-internal.d.ts
+++ b/types/ext/translation-internal.d.ts
@@ -15,8 +15,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as Translation from './translation';
import type * as DictionaryDatabase from './dictionary-database';
+import type * as Translation from './translation';
export type TextDeinflectionOptions = [
textReplacements: Translation.FindTermsTextReplacement[] | null,
diff --git a/types/ext/translator.d.ts b/types/ext/translator.d.ts
index 838ae171..39d4be81 100644
--- a/types/ext/translator.d.ts
+++ b/types/ext/translator.d.ts
@@ -15,10 +15,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type * as Dictionary from './dictionary';
-import type * as DictionaryDatabaseTypes from './dictionary-database';
import type {DictionaryDatabase} from '../../ext/js/language/dictionary-database';
import type {JapaneseUtil} from '../../ext/js/language/sandbox/japanese-util';
+import type * as Dictionary from './dictionary';
+import type * as DictionaryDatabaseTypes from './dictionary-database';
export type ConstructorDetails = {
/** An instance of JapaneseUtil. */
diff --git a/types/other/globals.d.ts b/types/other/globals.d.ts
index 330f16c2..4f6db6c9 100644
--- a/types/other/globals.d.ts
+++ b/types/other/globals.d.ts
@@ -19,4 +19,4 @@ declare global {
function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void;
}
-export {};
+export { };