mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
add retryCount to Response (#37109)
This commit is contained in:
committed by
Wesley Wigham
parent
59858d9d64
commit
389da87fce
1
types/got/index.d.ts
vendored
1
types/got/index.d.ts
vendored
@@ -284,6 +284,7 @@ declare namespace got {
|
||||
requestUrl: string;
|
||||
fromCache: boolean;
|
||||
redirectUrls?: string[];
|
||||
retryCount: number;
|
||||
}
|
||||
|
||||
type GotPromise<B extends Buffer | string | object> = Promise<Response<B>> & { cancel(): void };
|
||||
|
||||
Reference in New Issue
Block a user