Ensure consistency between src/client/tsconfig.json
and .wasp/out/react-app/src/tsconfig.json
#1057
Labels
bug
Something isn't working
dx
no-haskell
Coding task that does not need Haskell knowledge
shouldfix
We should do/fix this at some point
webdev
Moving from
create-react-app
tovite
caused a discrepancy between ourtsconfig.json
files. This causes incorrect errors inside the IDE.Specifically, IDE reports errors are not errors at all (i.e., the project compiles fine), while at the same time failing to detect some of the real errors.
One example of a false-positive is an error the IDE reports when you try to access
import.meta
on the frontend:We should ensure that the
tsconfig.json
we generate for users is as similar as possible to thetsconfig.json
file we use to compile their code.This tweet may be relevant:
https://twitter.com/youyuxi/status/1636551895002255362
The text was updated successfully, but these errors were encountered: