aboutsummaryrefslogtreecommitdiff
path: root/ext/js/accessibility
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-04 18:20:05 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-04 18:23:05 -0500
commitdcddbee07e20163ae167dd67fe58f0776f9acb64 (patch)
tree4a55c4bd42859f7bebae9d9cb31c6ae5fa0e3f9a /ext/js/accessibility
parent4b80a486181b902f3b1e089b584818ce725a91be (diff)
Update how ts comments are handled
Diffstat (limited to 'ext/js/accessibility')
-rw-r--r--ext/js/accessibility/google-docs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/accessibility/google-docs.js b/ext/js/accessibility/google-docs.js
index da6ab994..27841b6d 100644
--- a/ext/js/accessibility/google-docs.js
+++ b/ext/js/accessibility/google-docs.js
@@ -18,9 +18,9 @@
(async () => {
// Reentrant check
- // @ts-ignore : Checking a property to the global object
+ // @ts-expect-error - Checking a property to the global object
if (self.googleDocsAccessibilitySetup) { return; }
- // @ts-ignore : Adding a property to the global object
+ // @ts-expect-error - Adding a property to the global object
self.googleDocsAccessibilitySetup = true;
/**
@@ -57,7 +57,7 @@
// The extension ID below is on an allow-list that is used on the Google Docs webpage.
/* eslint-disable */
- // @ts-ignore : Adding a property to the global object
+ // @ts-expect-error : Adding a property to the global object
const inject = () => { window._docs_annotate_canvas_by_ext = 'ogmnaimimemjmbakcfefmnahgdfhfami'; };
/* eslint-enable */