[Feature] Add types
field to manifest for TypeScript support
#6740
Labels
enhancement
New feature or request
Uh oh!
There was an error while loading. Please reload this page.
Disclaimer: This content was written with the help of AI translation.
ref: #4834
Describe the user story
I want to make some util using
@yarnpkg/parser
.But it did not have
types
field on manifest, I can't develop on typescript codebase.Describe the solution you'd like
According to this typescript docs, Package describe
types
field for type file.Describe the drawbacks of your solution
The implementation is straightforward and follows TypeScript's official recommendations. There are no significant drawbacks as this change only adds type definitions without modifying existing functionality
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: