Correct callback in WebRequestAuthRequiredEvent.addListener

This commit is contained in:
NN
2015-01-28 17:54:23 +02:00
parent 1174e808b3
commit d8e4ecb9a9
+2 -2
View File
@@ -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 {