Fix ide typescript compatability in __tests__ dir - #3620
Conversation
|
|
Thanks for looking into it. Isn't there the same issue with |
Added a fix for it in 9409d73
I was able to see this issue within VSCode and after 9409d73 it's fixed. |
ce5e514 to
1dc8f15
Compare
|
@urugator would you like me to close this or is it still needed ? |
|
No please keep it open. The PR is very much appreciated, I (or someone else) will get to it eventually. There are just other issues I would like to settle first and I don't want to accidentaly complicate their resolution due to config changes or something. Sorry for the delay. |
Description
While having a look at #3590 I found out that
WeakRefwas not defined althoughESNextwas being in use.Apparently VSCode and most LSP servers don't recognise
tsconfig.test.jsonand the directory was explicitly excluded from the project root, onlytsconfig.jsonis recognised.This PR aims at fixing Developer Experience while working within
__tests__for bothmobx-reactandmobx-react-lightpackages.Hope I am helping.
Cheers.