isaacs / node-lru-cache

A fast cache that automatically deletes the least recently used items
http://isaacs.github.io/node-lru-cache/
ISC License
5.35k stars 353 forks source link

chore: updated 'set' method signature #338

Closed push1st1k closed 4 months ago

push1st1k commented 4 months ago

Fixed one small typo in the docs, in the current version it looks like 'options' is an array, but it's not.

isaacs commented 4 months ago

Yeah, very old school [optional] style argument listing.

Really, I should just yank out all the API docs and point to the typedocs. But I'll land this first so you can get the internet points ;)