-
Checked other resources
Commit to Help
Example Codeimport {} from '@langchain/community/'; DescriptionCurrently, I found the ts hints lost during I wanted to import some packages from @langchain/community like below: I tried to find the reason but failed. Did anyone have the same issue?( node: '>=18') Packages versions of laingchain: "@langchain/community": "^0.3.32",
"@langchain/core": "^0.3.40",
"langchain": "^0.3.19",
"langsmith": "^0.3.10"
"ts-node": "^10.8.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^4.9.3" My ts configuration: For now, I have to add these packages in a global ts file System InfoNone |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey there, @postbird! I'm here to help you with any bugs, questions, or contributions you have for the LangChain community. Let's tackle this challenge together! The issue you're experiencing with missing type hints when importing from
If these steps do not resolve the issue, it might be worth checking for any recent changes or updates in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
I created a new empty project via nest.js, also had the same issue. Currently, I solved the issue by writing a script and generating a |
Beta Was this translation helpful? Give feedback.
I created a new empty project via nest.js, also had the same issue.
Currently, I solved the issue by writing a script and generating a
d.ts
file to add all the ts reference