The aws-amplify-react-native.d.ts
file contains custom type declarations for the aws-amplify-react-native
package.
The examples
directory contains examples from the AWS Amplify documentation.
The examples successfully typecheck in Typescript, and you can open them in an IDE like VSCode to examine the types.
This is a short-term stopgap solution, as the aws-amplify-react-native
package is being rewritten by AWS in their Amplify UI Component Library Refactor
Some of the types may be incorrect, as I'm trying to make inferences about code written by AWS developers. Please do not hesistate to open an issue or pull request with suggestions or corrections.