From 410eb0e172d53324584cb65736f19ed0db5b7559 Mon Sep 17 00:00:00 2001 From: oliver-oloughlin Date: Thu, 14 Dec 2023 01:31:58 +0100 Subject: [PATCH] fix(types): Exclude types from KvId that are not assignable to KvValue --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index c30bd18..fa31097 100644 --- a/src/types.ts +++ b/src/types.ts @@ -524,7 +524,7 @@ export type KvVersionstamp = Deno.KvEntry["versionstamp"] export type KvKey = [Deno.KvKeyPart, ...Deno.KvKey] -export type KvId = Deno.KvKeyPart +export type KvId = Exclude> export type KvObject = { [K: string | number]: KvValue