Closed
Description
Describe the bug
We use Typescript in our project. We do not have skipLibCheck
enabled.
After installation of RNTL v 12.4.0 and following RNTL Docs on installation it turns out that Typescript fails in RNTL's node_modules/@testing-library/react-native/src/matchers/extend-expect.d.ts
file.
Expected behavior
Typescript does not fail
Steps to Reproduce
Here's a reproduction repo: https://github.com/erheron/rntl-1534-repro
Screenshots

Versions
npmPackages:
@testing-library/react-native: ^12.4.0 => 12.4.0
react: 18.2.0 => 18.2.0
react-native: ^0.72.7 => 0.72.7
react-test-renderer: 18.2.0 => 18.2.0
Metadata
Metadata
Assignees
Labels
No labels