openjs-world-2021
openjs-world-2021 copied to clipboard
Question on how to implement this
Hi,
Awesome typing, i'm trying to wrap my head around how to implement this with fetch, and adding headers to the calls.
But i can't figure out how to use the typing in an actual method that does the calls, could you give an example or point me in the right direction? :)
Same question. It looks like great concept. How do I implement something using the BookLibrary interface? A little example would be helpful. Thank you.
Anything on this?
I based a api wrapper on it kinda https://github.com/cainthebest/nitrado.js
Thank you so much!
Does anybody have an example on how to implement this? @cainthebest 's repo looks like has been deleted and I am trying to figure out how this is implemented with Axios, for instance.