You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jest makes the unfortunate decision to include a non-dev dependency on @types/node: jestjs/jest#10937
This completely breaks TypeScript compilation if @types/react-native is also installed (which is needed here for obvious reasons).
For now I am mirroring Expo's workaround of using skipLibCheck to work around this, but this is not an actual solution to the problem. Jest should not be pulling in system dependencies like this.
The text was updated successfully, but these errors were encountered:
Jest makes the unfortunate decision to include a non-dev dependency on
@types/node
: jestjs/jest#10937This completely breaks TypeScript compilation if
@types/react-native
is also installed (which is needed here for obvious reasons).For now I am mirroring Expo's workaround of using
skipLibCheck
to work around this, but this is not an actual solution to the problem. Jest should not be pulling in system dependencies like this.The text was updated successfully, but these errors were encountered: