Hacker News new | ask | show | jobs
by a_c 973 days ago
Indeed I have issue here. Firefox maintain a library for unified extension API https://github.com/mozilla/webextension-polyfill

Their type definition for HAR request isn't exported 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/sr...

1 comments

Also the polyfill has a promise based API rather than a callback, which I don't yet know if there is a workaround