Skip to content

Commit

Permalink
make isUnboundRelationship private (#1234)
Browse files Browse the repository at this point in the history
UnboundRelationship is a class a user will never see, so there's no need to inform them about a function related to it.
  • Loading branch information
MaxAake authored Nov 8, 2024
1 parent 4324637 commit 291df7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/graph-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ Object.defineProperty(
* Test if given object is an instance of {@link UnboundRelationship} class.
* @param {Object} obj the object to test.
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
* @access private
*/
function isUnboundRelationship<
T extends NumberOrInteger = Integer,
Expand Down
1 change: 1 addition & 0 deletions packages/neo4j-driver-deno/lib/core/graph-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ Object.defineProperty(
* Test if given object is an instance of {@link UnboundRelationship} class.
* @param {Object} obj the object to test.
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
* @access private
*/
function isUnboundRelationship<
T extends NumberOrInteger = Integer,
Expand Down

0 comments on commit 291df7e

Please sign in to comment.