Skip to content

Typescript problems #169

@sofayam

Description

@sofayam

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:

  1. "application/sparql-results+json" is not a recognised value for the accept? parameter of query.execute
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions