sindresorhus / ky

🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to extend NormalizedOptions + Options

seanmcquaid opened this issue · comments

ky version: 1.0.0

Due to the newest release moving both NormalizedOptions + Options from interfaces to types, it is not possible to do any sort of module augmentation. In my case, I am passing in some custom parameters to be used in an API client with ky.create. Is there anyway we can revert these back to interfaces to allow for module augmentation? I am happy to put up a PR for this if needed!

Thank you so much for such a quick fix here @sindresorhus! Thank you for everything you're doing