Fix JSDoc type

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-09-27 10:19:53 +02:00
parent ee344efb3d
commit 1ed4a9eb4f
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -28,7 +28,7 @@ const subtleCrypto = window.crypto.subtle || window.crypto.webkitSubtle;
*
* @param {string} message message for the exception
* @param {string} friendlyText
* @returns {Error}
* @returns {{message: string, friendlyText: string}}
*/
function friendlyError(
message: string, friendlyText: string,