Changed placeholder type RdfDataSet from "any" to "object".

This commit is contained in:
Jonas Erbe 2019-04-08 11:37:32 +02:00
parent ec3ac1904e
commit 54ea233e00

View File

@ -8,7 +8,7 @@ import { Context, JsonLd, Document, Url, JsonLdProcessor, RemoteDocument } from
// Some typealiases for better readability and some placeholders
type MimeNQuad = 'application/n-quads';
type RdfDataSet = any;
type RdfDataSet = object; // Placeholder
type RdfOrString = RdfDataSet|string;
type Callback<T> = (err: Error, res: T) => void;
type DocCallback = Callback<JsonLd>;