soywiz-archive / typescript-node-definitions

TypeScript's typings for some popular node.js modules
207 stars 93 forks source link

Update memory-cache.d.ts timeout callback #58

Open davidrsacks opened 7 years ago

davidrsacks commented 7 years ago

Per code at https://github.com/ptarjan/node-cache/blob/master/index.js line 37, the timeout callback takes the value as well as the key. Fixing the definition so it can be passed easily.

midknight41 commented 7 years ago

Pretty sure this project is abandoned. Everything from here was moved to DefinitelyTyped. Check the definition there and submit a PR if necessary.