Skip to content

Commit 87d7d09

Browse files
committed
docs: fix typo releated to tree() docs
1 parent 61f207f commit 87d7d09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

keys.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575
* ["a", "d", "f"]
7676
* ```
7777
*
78-
* And you would get the following results when using `unique()`:
78+
* And you would get the following results when using `tree()`:
7979
*
8080
* ```ts
8181
* import { unique } from "jsr:@kitsonk/kv-toolbox/keys";
8282
*
8383
* const kv = await Deno.openKv();
84-
* console.log(await unique(kv, ["a"]));
84+
* console.log(await tree(kv, ["a"]));
8585
* // {
8686
* // prefix: ["a"],
8787
* // children: [
@@ -430,13 +430,13 @@ export interface KeyTree {
430430
* ["a", "d", "f"]
431431
* ```
432432
*
433-
* And you would get the following results when using `unique()`:
433+
* And you would get the following results when using `tree()`:
434434
*
435435
* ```ts
436436
* import { unique } from "jsr:@kitsonk/kv-toolbox/keys";
437437
*
438438
* const kv = await Deno.openKv();
439-
* console.log(await unique(kv, ["a"]));
439+
* console.log(await tree(kv, ["a"]));
440440
* // {
441441
* // prefix: ["a"],
442442
* // children: [

0 commit comments

Comments
 (0)