Skip to content

Commit 82fe2fd

Browse files
bigmontzrobsdedude
andauthored
Apply suggestions from code review
Co-authored-by: Robsdedude <dev@rouvenbauer.de>
1 parent b7a98c4 commit 82fe2fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/transaction-managed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ManagedTransaction extends Transaction {
5858
*
5959
* This method will roll back the transaction if it is not already committed or rolled back.
6060
*
61-
* @deprecated Close should not be done in transaction work. See {@link ManagedTransaction#commit} and {@link ManagedTransaction#rollback}
61+
* @deprecated Closure should not be done in transaction work. See {@link ManagedTransaction#commit} and {@link ManagedTransaction#rollback}
6262
*
6363
* @returns {Promise<void>} An empty promise if closed successfully or error if any error happened during
6464
*/

packages/neo4j-driver/src/transaction-managed-rx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class RxManagedTransaction extends RxTransaction {
5151
* Closes the transaction
5252
*
5353
* This method will roll back the transaction if it is not already committed or rolled back.
54-
* @deprecated Close should not be done in transaction work. See {@link RxManagedTransaction#commit} and {@link RxManagedTransaction#rollback}
54+
* @deprecated Closure should not be done in transaction work. See {@link RxManagedTransaction#commit} and {@link RxManagedTransaction#rollback}
5555
* @returns {Observable} - An empty observable
5656
*/
5757
close () {

packages/neo4j-driver/types/transaction-managed-rx.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare interface RxManagedTransaction {
4545
* Closes the transaction
4646
*
4747
* This method will roll back the transaction if it is not already committed or rolled back.
48-
* @deprecated Close should not be done in transaction work. See {@link RxManagedTransaction#commit} and {@link RxManagedTransaction#rollback}
48+
* @deprecated Closure should not be done in transaction work. See {@link RxManagedTransaction#commit} and {@link RxManagedTransaction#rollback}
4949
* @returns {Observable} - An empty observable
5050
*/
5151
close(): Observable<any>

0 commit comments

Comments
 (0)