From b0bfac6a8cc228445deca1ab6ff3769052d3bafb Mon Sep 17 00:00:00 2001 From: jaxoncreed Date: Tue, 11 May 2021 21:17:34 -0400 Subject: [PATCH] Update DatasetCoreFactory to match Dataset Factory `DatasetFactory` accepts both a DataSet and an array of Quads, while `DatasetCoreFactory` only has an array of Quads. Note that this is correct according to the spec (https://rdf.js.org/dataset-spec/#datasetcorefactory-interface), but I would argue that consistency is better. --- dataset.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset.d.ts b/dataset.d.ts index 29ecdc7..958fb95 100644 --- a/dataset.d.ts +++ b/dataset.d.ts @@ -51,7 +51,7 @@ export interface DatasetCoreFactory | InQuad[]): D; } export interface Dataset extends DatasetCore {