mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 19:01:22 +08:00
Changed Array<T> to type[]
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user