Skip to content

Commit d571934

Browse files
AVaksmancallmehiphop
authored andcommitted
fix: transaction#run overloads' param types correction (#501)
1 parent 930609e commit d571934

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

handwritten/datastore/src/transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ class Transaction extends DatastoreRequest {
445445
}
446446

447447
run(options?: RunOptions): Promise<RunResponse>;
448-
run(callback?: RunCallback): void;
449-
run(options?: RunOptions, callback?: RunCallback): void;
448+
run(callback: RunCallback): void;
449+
run(options: RunOptions, callback: RunCallback): void;
450450
/**
451451
* Begin a remote transaction. In the callback provided, run your
452452
* transactional commands.

0 commit comments

Comments
 (0)