Skip to content

Commit 291df7e

Browse files
authored
make isUnboundRelationship private (#1234)
UnboundRelationship is a class a user will never see, so there's no need to inform them about a function related to it.
1 parent 4324637 commit 291df7e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/core/src/graph-types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ Object.defineProperty(
349349
* Test if given object is an instance of {@link UnboundRelationship} class.
350350
* @param {Object} obj the object to test.
351351
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
352+
* @access private
352353
*/
353354
function isUnboundRelationship<
354355
T extends NumberOrInteger = Integer,

packages/neo4j-driver-deno/lib/core/graph-types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ Object.defineProperty(
349349
* Test if given object is an instance of {@link UnboundRelationship} class.
350350
* @param {Object} obj the object to test.
351351
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
352+
* @access private
352353
*/
353354
function isUnboundRelationship<
354355
T extends NumberOrInteger = Integer,

0 commit comments

Comments
 (0)