mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-28 12:43:06 +08:00
Correct callback in WebRequestAuthRequiredEvent.addListener
This commit is contained in:
Vendored
+2
-2
@@ -2422,8 +2422,8 @@ declare module chrome.webRequest {
|
||||
}
|
||||
|
||||
interface WebRequestAuthRequiredEvent extends chrome.events.Event {
|
||||
addListener(callback: (details: OnAuthRequiredDetails) => BlockingResponse, filter?: RequestFilter, opt_extraInfoSpec?: string[]): void;
|
||||
removeListener(callback: (details: OnAuthRequiredDetails) => BlockingResponse) : void;
|
||||
addListener(callback: (details: OnAuthRequiredDetails, callback?: (response: BlockingResponse) => void) => void, filter?: RequestFilter, opt_extraInfoSpec?: string[]): void;
|
||||
removeListener(callback: (details: OnAuthRequiredDetails, callback?: (response: BlockingResponse) => void) => void): void;
|
||||
}
|
||||
|
||||
interface WebRequestBeforeSendHeadersEvent extends chrome.events.Event {
|
||||
|
||||
Reference in New Issue
Block a user