Types needs to be updated for ESM
Closed this issue · 2 comments
sindresorhus commented
https://github.com/jaredwray/cacheable-request/blob/main/src/types.ts
You cannot use namespace
. Use named exports instead of nesting in a namespace.
I don't have time to work on this, but if you mention me on a pull request, I'm happy to review it to ensure everything is correct.
alphmt commented
@jaredwray @sindresorhus can you review PR?
jaredwray commented
@alphmth and @sindresorhus - reviewed and merged.