Skip to content

Fix exported types for result, resultsummary, and record #946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/neo4j-driver/test/types/export.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ const record: Record = new Record(['role'], [124])
dummy instanceof types.Node
dummy instanceof types.PathSegment
dummy instanceof types.Path
dummy instanceof types.Result
dummy instanceof types.ResultSummary
dummy instanceof types.Record
dummy instanceof types.Relationship
dummy instanceof types.Point
dummy instanceof types.Date
Expand Down
6 changes: 3 additions & 3 deletions packages/neo4j-driver/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ declare const types: {
UnboundRelationship: typeof UnboundRelationship
PathSegment: typeof PathSegment
Path: typeof Path
Result: Result
ResultSummary: ResultSummary
Record: Record
Result: typeof Result
ResultSummary: typeof ResultSummary
Record: typeof Record
Point: typeof Point
Duration: typeof Duration
LocalTime: typeof LocalTime
Expand Down