New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to type nested fields in a Node.js module. #58406
Comments
ATTW says this is misconfigured: https://arethetypeswrong.github.io/?p=tranzak-node%403.1.3 |
Thanks for the insight. I didn't even know such a tool existed. |
Here's a screenshot from ATTW It says However, the actual And in the index.d.ts, it simply imports the main class of the package. At this point, I expect VS code to correctly infer the type. And yes, it does. The problem is, nested fields are not working. |
Clearly, the error isn't even about types. |
The layout of this package is nonsensical; they're importing from |
The package has |
That really isn't the problem; the problem is that there really are not any type definitions for this class. Renaming things won't help when there's no type info at at all. This is most definitely a problem with the package. |
This issue has been marked as "External" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
npm install [email protected]
Within the node module itself (e.g in
index.mjs
), you would find that the code is correctly completed.The text was updated successfully, but these errors were encountered: