-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove content-encoding
header
#30
Conversation
You need to update the types too. |
that would be a breaking change as one would need to export the const decompressResponse = require('decompress-response'); would need to be rewritten as const decompressResponse = require('decompress-response').decompressResponse; is it alright for that to happen? |
You can still use a |
alright, thanks! I'm still pretty new to typescript, and wasn't familiar with the idea of namespaces. can you check the commit out? |
Would be better to use the |
I've tried before with |
Does it work better with https://github.com/sindresorhus/type-fest/blob/main/source/except.d.ts (stricter version of Omit) (just copy-paste it in)? If not, what you have is fine. |
no, it doesn't work. it yields the same problem with |
content-encoding
header
this should fix #28