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
{{ message }}
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
Something I realized with type potentially being a field in package.json is that it might be slightly confusing for TypeScript users.
When TypeScript tries to import a package, much like Node.js looks to resolve a .js file from a main field, TypeScript will try to resolve a .d.ts file from the types field. Do we have any concerns here?
Something I realized with
typepotentially being a field inpackage.jsonis that it might be slightly confusing for TypeScript users.When TypeScript tries to import a package, much like Node.js looks to resolve a
.jsfile from amainfield, TypeScript will try to resolve a.d.tsfile from thetypesfield. Do we have any concerns here?