Skip to content

Commit 1194075

Browse files
committed
fix: enable ToString request for DBTransaction.lock
1 parent 82d28db commit 1194075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DBTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class DBTransaction {
156156
* There is no deadlock detection
157157
*/
158158
public async lock(
159-
...requests: Array<MultiLockRequest | string>
159+
...requests: Array<MultiLockRequest | ToString>
160160
): Promise<void> {
161161
const requests_: Array<AsyncLocksMultiLockRequest<RWLockWriter>> = [];
162162
for (const request of requests) {

0 commit comments

Comments
 (0)