Support multiple TypeScript projects with shared library #29419
Labels
*question
Issue represents a question, should be posted to StackOverflow (VS Code)
typescript
Typescript support issues
Steps to Reproduce:
Folder structure:
frontend
&backend
are 2 typescript project, with some shared code put into share folder.Both
frontend
andbackend
have their own typings folder.There is no
tsconfig.json
in shared folder.Problem
When I open file in shared folder, it always throw some error.
Some is because there is no
tsconfig.json
inshared
, some is becauseshared
cannot find propertypings
(they are in frontend and backend).Compile frontend and backend will be successful
This problem may be because vscode regard
shared
as a individual project, and will find itstsconfig.json
andtypings
seperately.Suggestion
shared folder
, do not show error in that folder.The text was updated successfully, but these errors were encountered: