From 0094ff7babab6839ccef4c82fa46b8aa4f14198f Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 27 Dec 2023 01:40:25 -0500 Subject: API map updates (#458) * Rename * Fix incorrect union types * Update type names * Fix types --- ext/js/comm/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/comm') diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js index c0cfae16..c2351538 100644 --- a/ext/js/comm/api.js +++ b/ext/js/comm/api.js @@ -373,7 +373,7 @@ export class API { * @returns {Promise>} */ _invoke(action, params) { - /** @type {import('api').MessageAny} */ + /** @type {import('api').ApiMessage} */ const data = {action, params}; return new Promise((resolve, reject) => { try { -- cgit v1.2.3