3 ms·
Indeed I have issue here. Firefox maintain a library for unified extension API https://github.com/mozilla/webextension-polyfill https://github.com/mozilla/webex
by a_c 3y ago
Indeed I have issue here.
Firefox maintain a library for unified extension API https://github.com/mozilla/webextension-polyfill https://github.com/mozilla/webextension-polyfill
Their type definition for HAR request isn't exported https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webextension-polyfill/namespaces/devtools_network.d.ts#L22 https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...
So I can't drop in replace the type on https://github.com/AndrewWalsh/openapi-devtools/blob/main/src/lib/RequestStore.ts#L48 https://github.com/AndrewWalsh/openapi-devtools/blob/main/sr...
- a_c 3y agoAlso the polyfill has a promise based API rather than a callback, which I don't yet know if there is a workaround