summaryrefslogtreecommitdiff
path: root/ext/js/background/offscreen-proxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background/offscreen-proxy.js')
-rw-r--r--ext/js/background/offscreen-proxy.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/js/background/offscreen-proxy.js b/ext/js/background/offscreen-proxy.js
index 30c6862a..e65ec65e 100644
--- a/ext/js/background/offscreen-proxy.js
+++ b/ext/js/background/offscreen-proxy.js
@@ -183,11 +183,9 @@ export class TranslatorProxy {
this._offscreen = offscreen;
}
- /**
- * @param {import('language-transformer').LanguageTransformDescriptor[]} descriptors
- */
- async prepare(descriptors) {
- await this._offscreen.sendMessagePromise({action: 'translatorPrepareOffscreen', params: {descriptors}});
+ /** */
+ async prepare() {
+ await this._offscreen.sendMessagePromise({action: 'translatorPrepareOffscreen'});
}
/**