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/offscreen-proxy.js | |
parent | 7cc20964b5ae69967945a802c4137be9052ea93b (diff) |
API map updates (#458)
* Rename
* Fix incorrect union types
* Update type names
* Fix types
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 99dc0741..2335b673 100644 --- a/ext/js/background/offscreen-proxy.js +++ b/ext/js/background/offscreen-proxy.js @@ -72,9 +72,9 @@ export class OffscreenProxy { } /** - * @template {import('offscreen').MessageType} TMessageType - * @param {import('offscreen').Message<TMessageType>} message - * @returns {Promise<import('offscreen').OffscreenApiReturn<TMessageType>>} + * @template {import('offscreen').ApiNames} TMessageType + * @param {import('offscreen').ApiMessage<TMessageType>} message + * @returns {Promise<import('offscreen').ApiReturn<TMessageType>>} */ sendMessagePromise(message) { return new Promise((resolve, reject) => { |