If you try out the code from the quick example in the readme page in a typescript environment (2.8.3 in my case) you will have two problems:
- "application/sparql-results+json" is not a recognised value for the accept? parameter of query.execute
- Headers, Request and RequestInit are undefined (in index.d.ts)
I have just patched this up with a sprinkling of "any"s, in my version, but sadly do not understand the interface well enough to give you anything worth putting in a pull request.
If you try out the code from the quick example in the readme page in a typescript environment (2.8.3 in my case) you will have two problems:
I have just patched this up with a sprinkling of "any"s, in my version, but sadly do not understand the interface well enough to give you anything worth putting in a pull request.