Closed
Description
What happened?
Just upgraded to 1.16.0, my typescript builds started to error with:
node_modules/@react-native-async-storage/async-storage/lib/typescript/index.d.ts:6:16 - error TS2665: Invalid module name in augmentation. Module '@react-native-async-storage/async-storage/jest/async-storage-mock' resolves to an untyped module at '[...]/node_modules/@react-native-async-storage/async-storage/jest/async-storage-mock.js', which cannot be augmented.
6 declare module '@react-native-async-storage/async-storage/jest/async-storage-mock' {
Version
1.16.0
What platforms are you seeing this issue on?
- Android
- iOS
- macOS
- Windows
- web
System Information
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 6.79 GB / 17.88 GB
Binaries:
Node: 14.17.1 - ~\AppData\Local\Temp\yarn--1644419667475-0.14216515503697358\node.CMD
Yarn: 1.22.5 - ~\AppData\Local\Temp\yarn--1644419667475-0.14216515503697358\yarn.CMD
npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version 2020.3.0.0 AI-203.7717.56.2031.7935034
Visual Studio: 16.11.32002.261 (Visual Studio Community 2019)
Languages:
Java: 1.8.0_282 - C:\Program Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.66.4 => 0.66.4
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to Reproduce
yarn install "@react-native-async-storage/async-storage@1.16.0
yarn tsc