diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 14:55:27 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 14:55:27 -0500 |
commit | 7aed9a371b0d74c0d75179a08068e8935b76d780 (patch) | |
tree | 2d895b20e31cb03c8200e4429d987c6d253b1da7 /ext/js/language/dictionary-worker.js | |
parent | 5dc16745468c229e7c31f6cddaad83fb9c36b98f (diff) |
Update types
Diffstat (limited to 'ext/js/language/dictionary-worker.js')
-rw-r--r-- | ext/js/language/dictionary-worker.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/language/dictionary-worker.js b/ext/js/language/dictionary-worker.js index 3e78a6ff..3119dd7b 100644 --- a/ext/js/language/dictionary-worker.js +++ b/ext/js/language/dictionary-worker.js @@ -157,6 +157,8 @@ export class DictionaryWorker { resolve(result2); } else { // If formatResult is not provided, the response is assumed to be the same type + // For some reason, eslint thinks the TResponse type is undefined + // eslint-disable-next-line jsdoc/no-undefined-types resolve(/** @type {TResponse} */ (/** @type {unknown} */ (result))); } } |