Open manueliglesias opened 6 years ago
Request: generate typescript type definitions
I assume type definitions need to be created, or at least polished, by hand.
I just submitted a PR to add amazon-cognito-auth-js definitions to DefinitelyTyped, see: DefinitelyTyped/DefinitelyTyped#25622
If interested, I can create a PR to add the same type definitions here for review and comment.
Type definitions have been published to DefinitelyTyped and are now available through the @types/amazon-cognito-auth-js
npm package. The DefinitelyTyped package should be deprecated once types are added here.
hi all, I would like to ask your opinion about this fork I created where I made these changes:
There are small changes to make but your opinion is welcome so as to know if I can make a PR or publish it on npm.
Thanks
From: aws/aws-amplify#737
Do you want to request a feature or report a bug? Report a bug
What is the current behavior? After installing AWS Amplify & AWS Amplify React on a newly created create-react-app Typescript application and importing AWS Amplify in my App.tsx, I get the following error:
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions? I'm using the AWS-Amplify ^0.3.3, AWS-Amplify-React ^0.1.43. Also tried using aws-sdk-typescript@0.0.3.
Is this a bug with the library? Is there a way to bypass/fix this?