htmlparser2
htmlparser2 copied to clipboard
Make types available via package.json exports
This is needed for TypeScript 4.7, otherwise it can't find the declaration files.
Could you share in which scenario TypeScript doesn't find type definitions? For me, it picks up the types
property without an issue, both for CommonJS and ESM code.
Closing this as I still don't understand when this is needed. Happy to revisit with some more context!