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