Open itaied246 opened 2 years ago
same here. tsc works but tsdx not. --transpileOnly fixed it for me
I also ran into this issue. --transpileOnly
fixes it for me as well, but this turns off type checking? I have no type errors when building with tsc, nor in VScode. I'm getting
Object is of type 'unknown'
when importing a zustand store (which is correctly typed). Since it's not clear where exactly the error comes from it is difficult to debug.
Current Behavior
Running
yarn tsc
works while runningyarn build
fails with various typescript errors. Here is one for example:Expected behavior
Work...
Additional context
I tried using
--transpileOnly
flag, but I get the same error.Your environment