return the commment of maximum number of redirects to its right place… (#6607)

This commit is contained in:
Mokhtar Hamdoune 2023-04-03 12:39:15 +01:00 committed by GitHub
parent 7489f96697
commit 81b9c505cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,11 +57,11 @@ interface Duration {
* @since 1.0.0
*/
interface ClientOptions {
maxRedirections?: number
/**
* Defines the maximum number of redirects the client should follow.
* If set to 0, no redirects will be followed.
*/
maxRedirections?: number
connectTimeout?: number | Duration
}