-
Notifications
You must be signed in to change notification settings - Fork 37
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
Type errors for AWS SDK 3.10.0 #10
Comments
Hey, I see the types in AWS SDK changed somewhere between 3.4.1 (when I last tested it) and 3.10.0 (the current one). I will work on the fix. Thanks for the report! |
Nope, ignore my previous message, I was wrong. If you have a project with only But if you have multiple AWS packages in dependencies in different versions, then you will end up Best what you can do is to use the same versions for all the AWS SDK dependencies. Another solution would be to specify the Does it solve your problem? |
It didn't but it got me thinking about the types. Turns out that I didn't have the @aws-sdk/types package at all and that was causing issues. Adding that as a dev dependency fixed the problem. Thanks! Great package by the way! Super simple to use! |
The
Thank you, good to hear it! |
I had this issue -- it seems that I had multiple incompatible versions of I spent quite a while trying to ensure that I had the same exact version installed of all my aws sdk clients, but it still remained. In the end I installed (Just a note in case anyone else has the same issue) |
For me it worked by installing @aws-sdk/types in the same version of sdk packages |
Anyone knows how could I resolve this issue when tsyringe tries to work with DynamoDBClient?
|
Could you get a solution for this error? @florianakos ? seeing the same error after updating |
I experience similar with CognitoIdentityProviderClient. It was saying command was incompatible type using the latest in typescript.
After downgrading '@aws-sdk/client-cognito-identity-provider' to 3.10.0 it no longer failed for type errors. |
I'm having some trouble with types. Using
//@ts-ignore
works but probably isn't solving the problem.Example code:
Error thrown:
If I add
// @ts-ignore
as below then all works as expected:Packages:
ts-config:
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: