Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
fix typeck
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair committed Sep 7, 2023
1 parent e50a5e8 commit a063ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/kv/key_expiration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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(
Expand Down

0 comments on commit a063ad2

Please sign in to comment.