sparqljs-legacy-type
November 11, 2020 ยท View on GitHub
This module contains TypeScript types definition for the SPARQL.js package in version 2.0.x.
Installation
First install the package using npm or yarn
# with npm
npm install --save-dev sparqljs-legacy-type
# with yarn
yarn add -D sparqljs-legacy-type
Then, adds the following typeRoots configuration in your tsconfig.json configuration file.
{
"compilerOptions": {
"typeRoots": [
"./node_modules/sparqljs-legacy-type/"
]
}
}