Skip to content

Commit 40bd936

Browse files
committed
docs: fix missing backticks in Properties table Type column
Fixed missing closing backticks in 'first' and 'last' Type column entries. Changed `object | null to `object` \| `null` for proper markdown formatting.
1 parent 281963f commit 40bd936

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ const cache = new LRU(100, 5000);
155155

156156
| Property | Type | Description |
157157
| --------- | ---------------- | ------------------------------------------ |
158-
| `first` | `object | null` | Least recently used item (node with `key`, `value`, `prev`, `next`, `expiry`) |
159-
| `last` | `object | null` | Most recently used item |
158+
| `first` | `object` \| `null` | Least recently used item (node with `key`, `value`, `prev`, `next`, `expiry`) |
159+
| `last` | `object` \| `null` | Most recently used item |
160160
| `max` | `number` | Maximum items allowed |
161161
| `size` | `number` | Current number of items |
162162
| `ttl` | `number` | Time-to-live in milliseconds |

0 commit comments

Comments
 (0)