Skip to content

Commit

Permalink
fix: enable ToString request for DBTransaction.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Aug 19, 2022
1 parent 82d28db commit 1194075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DBTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class DBTransaction {
* There is no deadlock detection
*/
public async lock(
...requests: Array<MultiLockRequest | string>
...requests: Array<MultiLockRequest | ToString>
): Promise<void> {
const requests_: Array<AsyncLocksMultiLockRequest<RWLockWriter>> = [];
for (const request of requests) {
Expand Down

0 comments on commit 1194075

Please sign in to comment.