Skip to content

Commit 79c7ee6

Browse files
committed
Expose Instance.cons
1 parent 89cd169 commit 79c7ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const fromJs = (value, uri = "", pointer = "", parent = undefined) => {
4040
}
4141
};
4242

43-
const cons = (baseUri, pointer, value, type, children, parent) => {
43+
export const cons = (baseUri, pointer, value, type, children, parent) => {
4444
const node = {
4545
baseUri: baseUri ? toAbsoluteIri(baseUri) : "",
4646
pointer: pointer,

0 commit comments

Comments
 (0)