1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix(kv): improve .listenQueue types (#21781)

Fixes: #21780
This commit is contained in:
Kitson Kelly 2024-01-07 00:42:14 +11:00 committed by GitHub
parent d1706c2ac9
commit 49d8320e45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2043,9 +2043,8 @@ declare namespace Deno {
* });
* ```
*/
listenQueue(
handler: (value: unknown) => Promise<void> | void,
): Promise<void>;
// deno-lint-ignore no-explicit-any
listenQueue(handler: (value: any) => Promise<void> | void): Promise<void>;
/**
* Create a new {@linkcode Deno.AtomicOperation} object which can be used to