summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-04-15 10:33:31 +0200
committerGitHub <noreply@github.com>2023-04-15 10:33:31 +0200
commit2184103a5ec7d7ae6fcfe2ecb79ad481498f5f8d (patch)
tree253be8ff59e04bb1ea0a9a8a7244bcbed420486e /cli/tsc/dts/lib.deno.unstable.d.ts
parent1bca994143b4812979a264f1105ae36de1efb982 (diff)
feat(kv): AtomicOperation#sum (#18704)
Diffstat (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 4bc0fed45..9c4bd5d2c 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -1840,6 +1840,10 @@ declare namespace Deno {
*/
mutate(...mutations: KvMutation[]): this;
/**
+ * Shortcut for creating a sum mutation.
+ */
+ sum(key: KvKey, n: bigint): this;
+ /**
* Add to the operation a mutation that sets the value of the specified key
* to the specified value if all checks pass during the commit.
*/