Skip to content

Commit dd492ba

Browse files
committed
docs: Fix entries() return type to specify 2-element tuple
1 parent 4cba0a2 commit dd492ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ console.log(cache.entries(["c", "a"]));
232232
| ------ | ---------- | ---------------------------------- |
233233
| `keys` | `string[]` | Optional specific keys to retrieve |
234234

235-
**Returns:** `Array<(string|*)[]>` - Array of key-value pairs
235+
**Returns:** `[string, *][]` - Array of 2-element tuples [key, value]
236236

237237
---
238238

0 commit comments

Comments
 (0)