Poor error guidance for deep imports of packages with @types #24781
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
@types
Relates to working with .d.ts files (declaration/definition files) from DefinitelyTyped
Milestone
With
noImplicitAny
:Error:
But
@types/acorn
already has been installed. The true error is that the declaration files haven't been written for this deeper import. I think we can give a better error message here.The text was updated successfully, but these errors were encountered: