*Add more types from webextension

This commit is contained in:
Derrick Hammer 2022-07-31 00:55:16 -04:00
parent e917c0e7b4
commit 7d5578f5ee
1 changed files with 4 additions and 0 deletions

View File

@ -1,16 +1,20 @@
import { WebRequest, Proxy } from "webextension-polyfill"; import { WebRequest, Proxy } from "webextension-polyfill";
import OnHeadersReceivedDetailsType = WebRequest.OnHeadersReceivedDetailsType; import OnHeadersReceivedDetailsType = WebRequest.OnHeadersReceivedDetailsType;
import OnBeforeRequestDetailsType = WebRequest.OnBeforeRequestDetailsType; import OnBeforeRequestDetailsType = WebRequest.OnBeforeRequestDetailsType;
import OnBeforeSendHeadersDetailsType = WebRequest.OnBeforeSendHeadersDetailsType;
import OnCompletedDetailsType = WebRequest.OnCompletedDetailsType; import OnCompletedDetailsType = WebRequest.OnCompletedDetailsType;
import OnErrorOccurredDetailsType = WebRequest.OnErrorOccurredDetailsType; import OnErrorOccurredDetailsType = WebRequest.OnErrorOccurredDetailsType;
import BlockingResponse = WebRequest.BlockingResponse; import BlockingResponse = WebRequest.BlockingResponse;
import OnRequestDetailsType = Proxy.OnRequestDetailsType; import OnRequestDetailsType = Proxy.OnRequestDetailsType;
import HttpHeaders = WebRequest.HttpHeaders;
export { export {
OnHeadersReceivedDetailsType, OnHeadersReceivedDetailsType,
OnBeforeRequestDetailsType, OnBeforeRequestDetailsType,
OnBeforeSendHeadersDetailsType,
OnCompletedDetailsType, OnCompletedDetailsType,
OnErrorOccurredDetailsType, OnErrorOccurredDetailsType,
BlockingResponse, BlockingResponse,
OnRequestDetailsType, OnRequestDetailsType,
HttpHeaders,
}; };