A common mistake people make is to write or emit module.exports = thing in the CJS output, but export default thing in the type definitions. It would be nice if this tool could handle that and provide suggestions how to fix it.
This involves inspecting the actual source code instead of just file resolutions, so I understand if this is a big ask, or even out of scope of this project.
A common mistake people make is to write or emit
module.exports = thingin the CJS output, butexport default thingin the type definitions. It would be nice if this tool could handle that and provide suggestions how to fix it.This involves inspecting the actual source code instead of just file resolutions, so I understand if this is a big ask, or even out of scope of this project.