Changed Array<T> to type[]

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-21 20:02:18 +01:00
parent 9996ba1636
commit 09e61d9d63
No known key found for this signature in database
GPG key ID: BF229DCFD4748E05
5 changed files with 6 additions and 6 deletions

View file

@ -387,7 +387,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 {Array<string>} acceptedCodes An array of accepted status codes
* @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
*/