diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-27 01:40:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 06:40:25 +0000 |
commit | 0094ff7babab6839ccef4c82fa46b8aa4f14198f (patch) | |
tree | 3beeb558b41a04948ff82cc1c34f5e44df65825e /ext/js/background/backend.js | |
parent | 7cc20964b5ae69967945a802c4137be9052ea93b (diff) |
API map updates (#458)
* Rename
* Fix incorrect union types
* Update type names
* Fix types
Diffstat (limited to 'ext/js/background/backend.js')
-rw-r--r-- | ext/js/background/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js index 765d17d9..5ef3c3be 100644 --- a/ext/js/background/backend.js +++ b/ext/js/background/backend.js @@ -370,7 +370,7 @@ export class Backend { }); } - /** @type {import('extension').ChromeRuntimeOnMessageCallback<import('api').MessageAny>} */ + /** @type {import('extension').ChromeRuntimeOnMessageCallback<import('api').ApiMessageAny>} */ _onMessageWrapper(message, sender, sendResponse) { if (this._isPrepared) { return this._onMessage(message, sender, sendResponse); @@ -393,7 +393,7 @@ export class Backend { } /** - * @param {import('api').MessageAny} message + * @param {import('api').ApiMessageAny} message * @param {chrome.runtime.MessageSender} sender * @param {(response?: unknown) => void} callback * @returns {boolean} |