I have a mostly js project in which only the tests are written in typescript. However these tests (jest) show errors from node modules e.g.
console.error
Warning: Failed prop type: Invalid prop `in` of type `function` supplied to `ForwardRef(Fade)`, expected `boolean`.
How can I tell typescript to ignore all files except my test files?
Thanks