Skip to content
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

vscode typescript monorepo error #30245

Closed
xiaoxiangmoe opened this issue Mar 2, 2019 · 3 comments
Closed

vscode typescript monorepo error #30245

xiaoxiangmoe opened this issue Mar 2, 2019 · 3 comments
Labels
Needs Investigation This issue needs a team member to investigate its status.

Comments

@xiaoxiangmoe
Copy link
Contributor

  • VSCode Version: Version 1.31.1 (1.31.1) 1b8e8302e405050205e69b59abb3559592bb9e60
  • OS Version: macOS Version 10.14.3 (18D109)

Steps to Reproduce:

see : https://github.com/xiaoxiangmoe/vscode-typescript-monorepo-error

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot assigned mjbvz Mar 2, 2019
@mjbvz mjbvz transferred this issue from microsoft/vscode Mar 6, 2019
@mjbvz mjbvz added the Needs Investigation This issue needs a team member to investigate its status. label Mar 6, 2019
@duro
Copy link

duro commented Mar 7, 2019

@xiaoxiangmoe Simply importing type script from a module into another typescript file will not work. The other projects typescript must be compiled first. I think you need to look into Project References:

https://www.typescriptlang.org/docs/handbook/project-references.html

This will tell the tsc compiler to build that other project along side the main project.

@xiaoxiangmoe
Copy link
Contributor Author

@duro I use parcel and it will work. Because it support something like parcel-bundler/parcel#1101


If you'd like to compile it first, run yarn workspace the-answer-to-life-the-universe-and-everything build.

@mjbvz mjbvz removed their assignment Nov 6, 2019
@mjbvz
Copy link
Contributor

mjbvz commented Nov 6, 2019

Closing due to lack of recent activity

@mjbvz mjbvz closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Investigation This issue needs a team member to investigate its status.
Projects
None yet
Development

No branches or pull requests

3 participants