mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 14:59:37 +08:00
onAuthRequired allows additional arguments. (#10200)
See: https://developer.chrome.com/extensions/webRequest#type-OnAuthRequiredOptions https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired
This commit is contained in:
4
chrome/chrome.d.ts
vendored
4
chrome/chrome.d.ts
vendored
@@ -7336,7 +7336,9 @@ declare namespace chrome.webRequest {
|
||||
|
||||
interface WebRedirectionResponseEvent extends _WebResponseHeadersEvent<WebRedirectionResponseDetails> {}
|
||||
|
||||
interface WebAuthenticationChallengeEvent extends chrome.events.Event<(details: WebAuthenticationChallengeDetails, callback?: (response: BlockingResponse) => void) => void> {}
|
||||
interface WebAuthenticationChallengeEvent extends chrome.events.Event<(details: WebAuthenticationChallengeDetails, callback?: (response: BlockingResponse) => void) => void> {
|
||||
addListener(callback: (details: WebAuthenticationChallengeDetails) => void, filter?: RequestFilter, opt_extraInfoSpec?: string[]): void;
|
||||
}
|
||||
|
||||
interface WebResponseErrorEvent extends _WebResponseHeadersEvent<WebResponseErrorDetails> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user