-
Notifications
You must be signed in to change notification settings - Fork 646
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
The exported type NativeAttributeValue is resolved (in my IDE) to any, so my inputs are not validated
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected], @aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.18.0
Reproduction Steps
import { NativeAttributeValue } from '@aws-sdk/lib-dynamodb';Observed Behavior
When hovering the type, I'm seeing type NativeAttributeValue = any
Expected Behavior
I should see a more complex type, as it seems to be intended
something like type NativeAttributeValue = NativeScalarAttributeValue | { [key: string]: NativeAttributeValue; } | NativeAttributeValue[] | ...
Possible Solution
that seems to be caused by this part of the type: InstanceType<{ new (...args: any[]): any; }>
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog