Fix jsdoc data type

This commit is contained in:
Louis Lam 2022-07-18 22:06:25 +08:00
parent e5e8db6c38
commit 25d711e683

View File

@ -384,7 +384,7 @@ exports.checkCertificate = function (res) {
/**
* Check if the provided status code is within the accepted ranges
* @param {string} status The status code to check
* @param {number} status The status code to check
* @param {string[]} acceptedCodes An array of accepted status codes
* @returns {boolean} True if status code within range, false otherwise
* @throws {Error} Will throw an error if the provided status code is not a valid range string or code string