Sep 2, 2022
Hi,
The "myFetch" function is a typed response wrapper for the native fetch function.
fetch.apply allows fetch to run any length of args, as in the case with different HTTP methods like GET and POST
For more info on the apply method check out:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
Hope this helps