From b204d3e442ad0692537fd3e9c088558e57dc1897 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sat, 3 Feb 2024 21:52:34 +0100 Subject: [PATCH] fix param type in api --- ext/js/comm/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js index 6c7166c707..369bbc3d87 100644 --- a/ext/js/comm/api.js +++ b/ext/js/comm/api.js @@ -369,7 +369,7 @@ export class API { } /** - * @param {string} language + * @param {import('api').ApiParam<'getTextTransformations', 'language'>} language * @returns {Promise>} */ getTextTransformations(language) {