diff --git a/runtime/kv/key_expiration.md b/runtime/kv/key_expiration.md index 018d9f55..7ddede75 100644 --- a/runtime/kv/key_expiration.md +++ b/runtime/kv/key_expiration.md @@ -12,7 +12,7 @@ Since version 1.36.2, Deno KV supports key expiration. This allows an expiration timestamp to be associated with a key, after which the key will be automatically deleted from the database: -```ts +```ts,ignore const kv = await Deno.openKv(); // `expireIn` is the number of milliseconds after which the key will expire. @@ -28,7 +28,7 @@ Key expiration is supported on both Deno CLI and Deno Deploy. If multiple keys are set in the same atomic operation and have the same `expireIn` value, the expiration of those keys will be atomic. For example: -```ts +```ts,ignore const kv = await Deno.openKv(); function addUnverifiedUser(