diff --git a/test/types/v1/graph-types.test.ts b/test/types/v1/graph-types.test.ts index 10e2c22b6..418848e74 100644 --- a/test/types/v1/graph-types.test.ts +++ b/test/types/v1/graph-types.test.ts @@ -43,7 +43,7 @@ const rel2Props: object = rel2.properties; const pathSegment1: PathSegment = new PathSegment(node1, rel1, node1); const pathSegment1Start: Node = pathSegment1.start; -const pathSegment1Rel: Relationship = pathSegment1.rel; +const pathSegment1Rel: Relationship = pathSegment1.relationship; const pathSegment1End: Node = pathSegment1.end; const path1: Path = new Path(node1, node1, [pathSegment1]); diff --git a/types/v1/graph-types.d.ts b/types/v1/graph-types.d.ts index a551af315..fd1fa0e51 100644 --- a/types/v1/graph-types.d.ts +++ b/types/v1/graph-types.d.ts @@ -63,7 +63,7 @@ declare class UnboundRelationship { declare class PathSegment { start: Node; - rel: Relationship; + relationship: Relationship; end: Node; constructor(start: Node,