Skip to content

Commit

Permalink
docs: fix typo releated to tree() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Mar 7, 2024
1 parent 61f207f commit 87d7d09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@
* ["a", "d", "f"]
* ```
*
* And you would get the following results when using `unique()`:
* And you would get the following results when using `tree()`:
*
* ```ts
* import { unique } from "jsr:@kitsonk/kv-toolbox/keys";
*
* const kv = await Deno.openKv();
* console.log(await unique(kv, ["a"]));
* console.log(await tree(kv, ["a"]));
* // {
* // prefix: ["a"],
* // children: [
Expand Down Expand Up @@ -430,13 +430,13 @@ export interface KeyTree {
* ["a", "d", "f"]
* ```
*
* And you would get the following results when using `unique()`:
* And you would get the following results when using `tree()`:
*
* ```ts
* import { unique } from "jsr:@kitsonk/kv-toolbox/keys";
*
* const kv = await Deno.openKv();
* console.log(await unique(kv, ["a"]));
* console.log(await tree(kv, ["a"]));
* // {
* // prefix: ["a"],
* // children: [
Expand Down

0 comments on commit 87d7d09

Please sign in to comment.