mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Added type definitions for rdflib 0.17 (#27847)
This commit is contained in:
committed by
Sheetal Nandi
parent
ba1789ffaf
commit
dfccb836de
Vendored
+1169
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
||||
import * as $rdf from "rdflib";
|
||||
|
||||
const store = $rdf.graph();
|
||||
$rdf.parse(
|
||||
"some inline rdf data",
|
||||
store,
|
||||
"http://example.com",
|
||||
"text/n3",
|
||||
(x, y) => {}
|
||||
);
|
||||
const node = store.any(
|
||||
$rdf.sym("http://example.com/subject"),
|
||||
$rdf.sym("http://example.com/property"),
|
||||
undefined,
|
||||
undefined
|
||||
);
|
||||
const value = node.value;
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"rdflib-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user