summaryrefslogtreecommitdiff
path: root/ext/js/yomitan.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/yomitan.js')
-rw-r--r--ext/js/yomitan.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/yomitan.js b/ext/js/yomitan.js
index 3c0f7cb9..7cf67aec 100644
--- a/ext/js/yomitan.js
+++ b/ext/js/yomitan.js
@@ -37,7 +37,7 @@ if ((() => {
}
return (hasBrowser && !hasChrome);
})()) {
- // @ts-ignore - objects should have roughly the same interface
+ // @ts-expect-error - objects should have roughly the same interface
chrome = browser;
}
@@ -182,7 +182,7 @@ export class Yomitan extends EventDispatcher {
*/
sendMessage(...args) {
try {
- // @ts-ignore - issue with type conversion, somewhat difficult to resolve in pure JS
+ // @ts-expect-error - issue with type conversion, somewhat difficult to resolve in pure JS
chrome.runtime.sendMessage(...args);
} catch (e) {
this.triggerExtensionUnloaded();