Type assignment errors #6420
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Checkboxes for prior research
Describe the bug
Brand new application, I'm receiving argument type errors when instantiating the
S3Client
and assigning any operation to the.send()
function.new S3Client error:
Argument type {region: string} is not assignable to parameter type __CheckOptionalClientConfig<S3ClientConfig>
.send() command error:
Argument type ListBucketsCommand is not assignable to parameter type Command<ServiceInputTypes, SI, ServiceOutputTypes, SO, SmithyResolvedConfiguration<__HttpHandlerOptions>>
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Browser
Details of the browser/Node.js/ReactNative version
v20.16.0
Reproduction Steps
This looks to be a continuation of #4928
Minimally reproducible application using Angular 18 via ng-cli, vanilla setup, SCSS.
home.component.ts
package.json
Observed Behavior
Unable to compile the application due to argument type errors
Expected Behavior
The application should function according to API documentation with the prescribed types.
Possible Solution
Unknown. Have seen this issue previously. Fixes weren't conveyed. Have attempted
package.json
lock file andnode-modules
folder delete. Have started from scratch with no success either.Additional Information/Context
Currently using webstorm, macos
The text was updated successfully, but these errors were encountered: