You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feedback from our community, as well as our own experience, has shown us that leveraging the newest TypeScript features while also accomodating users on the older versions are difficult.
71
-
TypeScript introduces a new feature called `typesVersions` to help accomodate this model.
71
+
TypeScript introduces a new feature called `typesVersions` to help accomodate these scenarios.
72
72
73
73
When using Node module resolution in TypeScript 3.1, when TypeScript cracks open a `package.json` file to figure out which files it needs to read, it first looks at a new field called `typesVersions`.
74
74
A `package.json` with a `typesVersions` field might look like this:
0 commit comments