-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Typescript autoimport suggestion not working #331
Comments
I had this error using npm@6. upgrade my node to 16 and it worked |
Yeah, I'm using nvim in an environment with node 16 and it doesn't show the error, but the import is still not working. |
Updated the description to better explain the issue. |
It works if I put |
Got it working... You need to add |
@igor-ribeiro could you show me an example of |
@fabrixiop26 I'm using the examples from here, so it's the same |
wanting to bump this and see if anyone has figured this piece out! |
@sghsri Can you try again with our updated examples? We believe that those should work for tsconfig sharing as well as types in VSCode. |
This fixes the `startup` benchmark metric to show the time until first render, instead of being equal to hydration. It also skips `hydration` for CSR bundlers since it's equal first render for them. It now correctly measures the initial SSR as `startup`, so CLI start until page visible: ![image](https://user-images.githubusercontent.com/1365881/189152420-396b181b-5a3e-4902-881d-7c247fa43bd8.png)
This fixes the `startup` benchmark metric to show the time until first render, instead of being equal to hydration. It also skips `hydration` for CSR bundlers since it's equal first render for them. It now correctly measures the initial SSR as `startup`, so CLI start until page visible: ![image](https://user-images.githubusercontent.com/1365881/189152420-396b181b-5a3e-4902-881d-7c247fa43bd8.png)
This fixes the `startup` benchmark metric to show the time until first render, instead of being equal to hydration. It also skips `hydration` for CSR bundlers since it's equal first render for them. It now correctly measures the initial SSR as `startup`, so CLI start until page visible: ![image](https://user-images.githubusercontent.com/1365881/189152420-396b181b-5a3e-4902-881d-7c247fa43bd8.png)
Our recent example updates have fixed this! |
What version of Turborepo are you using?
1.0.15
Describe the Bug
Import suggestion from Typescript are not working, unless you have the packages with an empty import (
import {} from 'ui'
)Expected Behavior
Typescript should recognize the packages from the monorepo.
To Reproduce
npx create-turbo@latest
or clone an example (I cloned the design system)The text was updated successfully, but these errors were encountered: