Open mirzhasan opened 4 years ago
@danspratling please review (Can't assign you for some reason)
Looks great! Thanks for adding this.
I've noticed the formatting doesn't match that in prettierrc. If you could run format that'd be great, but this is approved. Thanks for the update!
@danspratling for being so quick. A couple of pointers/questions:
On a side note, the right way to accomplish this would be to create a new breaking change PR that maches the API exactly like fetch, where method etc is inside the option. I didn't do it since it was a breaking change, but if we can align, i can do that as well.
If you feel like that approach is correct and are happy to make the changes, I'm happy for you to do so.
I'll publish to npm after everything is complete. I really should automate it 😅
@danspratling The requested changes are done. Feel free to merge it (I haven't change the package.json version)