From 1c787daaac9b6d562532cda22aade73a477d65af Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 8 Sep 2021 22:12:19 -0400 Subject: [PATCH] Fix type with jsdoc for ERR_MSGS --- src/util/constants.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util/constants.js b/src/util/constants.js index 416d542..5731f7b 100644 --- a/src/util/constants.js +++ b/src/util/constants.js @@ -21,14 +21,14 @@ const ERR_CODES = { }; /** - * @property {object} ERR_CODES - * @property {string} ERR_CODES.parseError "Parse Error" - * @property {string} ERR_CODES.invalidRequest "Invalid Request" - * @property {string} ERR_CODES.methodNotFound "Method not found" - * @property {string} ERR_CODES.invalidParams "Invalid Parameters" - * @property {string} ERR_CODES.internal "Internal Error" - * @property {string} ERR_CODES.timeout "Request Timeout" - * @property {string} ERR_CODES.unknown "Unknown Error" + * @property {object} ERR_MSGS + * @property {string} ERR_MSGS.parseError "Parse Error" + * @property {string} ERR_MSGS.invalidRequest "Invalid Request" + * @property {string} ERR_MSGS.methodNotFound "Method not found" + * @property {string} ERR_MSGS.invalidParams "Invalid Parameters" + * @property {string} ERR_MSGS.internal "Internal Error" + * @property {string} ERR_MSGS.timeout "Request Timeout" + * @property {string} ERR_MSGS.unknown "Unknown Error" * @memberof Utils.constants */ const ERR_MSGS = {