@types/rdf-js
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -249,3 +249,3 @@ // Type definitions for the RDFJS specification 2.0 | ||
*/ | ||
export interface DataFactory<Q extends BaseQuad = Quad> { | ||
export interface DataFactory<OutQuad extends BaseQuad = Quad, InQuad extends BaseQuad = OutQuad> { | ||
/** | ||
@@ -301,3 +301,3 @@ * @param value The IRI for the named node. | ||
*/ | ||
triple(subject: Q['subject'], predicate: Q['predicate'], object: Q['object']): Q; | ||
triple(subject: InQuad['subject'], predicate: InQuad['predicate'], object: InQuad['object']): InQuad; | ||
@@ -312,3 +312,3 @@ /** | ||
*/ | ||
quad(subject: Q['subject'], predicate: Q['predicate'], object: Q['object'], graph?: Q['graph']): Q; | ||
quad(subject: InQuad['subject'], predicate: InQuad['predicate'], object: InQuad['object'], graph?: InQuad['graph']): OutQuad; | ||
} | ||
@@ -315,0 +315,0 @@ |
{ | ||
"name": "@types/rdf-js", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "TypeScript definitions for the RDFJS specification", | ||
@@ -29,4 +29,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "6dcd5e947a584286917de5cae0fd5a78540fb1a44d96f0229f57b28990083688", | ||
"typesPublisherContentHash": "031e66d064fdc618f3a17d62f80dd1bba320b8456408a2a689f67e0c6381759d", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 27 Jan 2020 22:31:32 GMT | ||
* Last updated: Mon, 06 Apr 2020 18:13:03 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Ruben Taelman (https://github.com/rubensworks), and Laurens Rietveld (https://github.com/LaurensRietveld). | ||
These definitions were written by [Ruben Taelman](https://github.com/rubensworks), and [Laurens Rietveld](https://github.com/LaurensRietveld). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24296