Skip to content

Commit

Permalink
fix: transaction#run overloads' param types correction (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
AVaksman authored and callmehiphop committed Sep 25, 2019
1 parent deb6e6d commit c88e66e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ class Transaction extends DatastoreRequest {
}

run(options?: RunOptions): Promise<RunResponse>;
run(callback?: RunCallback): void;
run(options?: RunOptions, callback?: RunCallback): void;
run(callback: RunCallback): void;
run(options: RunOptions, callback: RunCallback): void;
/**
* Begin a remote transaction. In the callback provided, run your
* transactional commands.
Expand Down

0 comments on commit c88e66e

Please sign in to comment.