Skip to content

Commit 72e463f

Browse files
authored
Fix exported types for result, resultsummary, and record (#946)
1 parent e373658 commit 72e463f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/neo4j-driver/test/types/export.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ const record: Record = new Record(['role'], [124])
7575
dummy instanceof types.Node
7676
dummy instanceof types.PathSegment
7777
dummy instanceof types.Path
78+
dummy instanceof types.Result
79+
dummy instanceof types.ResultSummary
80+
dummy instanceof types.Record
7881
dummy instanceof types.Relationship
7982
dummy instanceof types.Point
8083
dummy instanceof types.Date

packages/neo4j-driver/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ declare const types: {
103103
UnboundRelationship: typeof UnboundRelationship
104104
PathSegment: typeof PathSegment
105105
Path: typeof Path
106-
Result: Result
107-
ResultSummary: ResultSummary
108-
Record: Record
106+
Result: typeof Result
107+
ResultSummary: typeof ResultSummary
108+
Record: typeof Record
109109
Point: typeof Point
110110
Duration: typeof Duration
111111
LocalTime: typeof LocalTime

0 commit comments

Comments
 (0)