Closed ahocevar closed 2 years ago
@ahocevar great thing!
When introducting new APIs I guess we also have to add these to the mapping?
Yes @constantinius, when you add new exports, you have to add the respective type definition paths to the typesVersions
section.
This pull request improves the developer experience for TypeScript users and users of smart JS editors that provide type hints. This is achieved by properly mapping types to exports in package.json.