New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
photopicker component imports CognitoIdentify client unnecessarily #1442
Comments
Basically in aws-sdk v2.287.0, the unused typings are removed from the model, which contains the |
The { String } import has been removed from |
I am still getting this error even though in my photo-picker-factory.ts there is no String import on line 3. Can someone help please. |
Yes, I am getting the same error too. ERROR in node_modules/aws-amplify-angular/lib/components/storage/photo-picker-component/photo-picker.factory.d.ts(3,10): error TS2305: |
I replaced |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Hello,
An issue has been opened on the JavaScript SDK: aws/aws-sdk-js#2192
Specifically, the photopicker component is causing issues when importing the CognitoIdentity client.
amplify-js/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.factory.ts
Line 8 in 8f6c448
I don't believe that component needs to import the client.
I'm happy to submit a PR if it would be helpful to correct this issue.
The text was updated successfully, but these errors were encountered: