Monorepo Jest Type Definition #696
Labels
kind: support
Asking for support with something or a specific use case
solution: duplicate
This issue or pull request already exists
topic: monorepo
Related to Lerna monorepos
Current Behavior
When you bootstrap a package using TSDX inside a Lerna monorepo, if you open the new package directly
code mono/packages/tsdx
type definitions of Jest load correctly.However, when you open the monorepo directly
code mono
and navigate to a test inside the sub package, VSCode lights up like a Christmas tree.Desired Behavior
If possible, it would be great to have type definitions when opening the monorepo.
Suggested Solution
I'm terrible at TypeScript bootstrapping, hence why I used TSDX.
Perhaps (most likely) it's something easily fixable on my end, but since everything else worked out of the box, it would be great if that worked too!
Who does this impact? Who is this for?
Monorepo users mainly.
Describe alternatives you've considered
I've tried tweaking the
tsconfig.json
and creating a new one only for my tests, but didn't get it to work properly.Only alternative I see now is opening VSCode directly at my package instead of the monorepo, but that doesn't quite fit my workflow most of the time.
Cheers!
The text was updated successfully, but these errors were encountered: