aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/ext/dictionary-importer.d.ts2
-rw-r--r--types/ext/dictionary-worker.d.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/types/ext/dictionary-importer.d.ts b/types/ext/dictionary-importer.d.ts
index 17bd1bb4..3a320f96 100644
--- a/types/ext/dictionary-importer.d.ts
+++ b/types/ext/dictionary-importer.d.ts
@@ -45,7 +45,7 @@ export type ProgressData = {
};
export type ImportResult = {
- result: Summary;
+ result: Summary | null;
errors: Error[];
};
diff --git a/types/ext/dictionary-worker.d.ts b/types/ext/dictionary-worker.d.ts
index f10ed4a5..215ff94c 100644
--- a/types/ext/dictionary-worker.d.ts
+++ b/types/ext/dictionary-worker.d.ts
@@ -59,12 +59,12 @@ export type MessageGetImageDetailsParams = {
export type MessageData<TResponseRaw = unknown> = MessageCompleteData<TResponseRaw> | MessageProgressData | MessageGetImageDetailsData;
export type MessageCompleteResultSerialized = {
- result: DictionaryImporter.Summary;
+ result: DictionaryImporter.Summary | null;
errors: Core.SerializedError[];
};
export type MessageCompleteResult = {
- result: DictionaryImporter.Summary;
+ result: DictionaryImporter.Summary | null;
errors: Error[];
};