@types/rdf-ext
Version:
TypeScript definitions for rdf-ext
18 lines (14 loc) • 429 B
TypeScript
import { BlankNode, Term } from "@rdfjs/types";
import { PropType } from "./_PropType.js";
export interface BlankNodeExt extends BlankNode {
toCanonical(): string;
toJSON(): {
value: PropType<BlankNode, "value">;
termType: PropType<BlankNode, "termType">;
};
}
// tslint:disable-next-line:no-unnecessary-class
export class BlankNodeExt {
constructor(id: string);
}
export default BlankNodeExt;