Closed
Description
Describe the bug
Typescript linter throws the below-given error:
node_modules/react-native-testing-library/typings/index.d.ts(4,3): error TS2724: Module '"react-native"' has no exported member 'AccessibilityStates'. Did you mean 'AccessibilityState'?
Expected behavior
The TSC linter shouldn't through any error and the type has a typo that needs to be fixed.
Steps to Reproduce
Add bash -c tsc
to husky commit hooks and try to commit the code or just run tsc
Screenshots
Versions
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
react-native-testing-library: ^2.1.0 => 2.1.0
react-test-renderer: 16.11.0 => 16.11.0