diff options
Diffstat (limited to 'ext/js/background/offscreen-proxy.js')
-rw-r--r-- | ext/js/background/offscreen-proxy.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/background/offscreen-proxy.js b/ext/js/background/offscreen-proxy.js index c888fe29..102a9eed 100644 --- a/ext/js/background/offscreen-proxy.js +++ b/ext/js/background/offscreen-proxy.js @@ -184,10 +184,10 @@ export class TranslatorProxy { } /** - * @param {import('language-transformer').LanguageTransformDescriptor} descriptor + * @param {import('language-transformer').LanguageTransformDescriptor[]} descriptors */ - async prepare(descriptor) { - await this._offscreen.sendMessagePromise({action: 'translatorPrepareOffscreen', params: {descriptor}}); + async prepare(descriptors) { + await this._offscreen.sendMessagePromise({action: 'translatorPrepareOffscreen', params: {descriptors}}); } /** |