borisdiakur / memoize-fs

memoize/cache in file system solution for Node.js
https://www.npmjs.org/package/memoize-fs
MIT License
36 stars 13 forks source link

Use TypeScript's Awaited utility type instead of our custom EnsurePromise type #273

Closed joliss closed 6 months ago

joliss commented 6 months ago

I learned about Awaited\ just now, and thought I'd improve my patch from a few days ago, as it seems more elegant and concise to use Awaited here.

borisdiakur commented 6 months ago

Nice! Thanks again @joliss! 3.0.4 📦🚀