-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
bugThis issue is a bug.This issue is a bug.guidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.
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
Running tsc
fails with TS2305 / TS2724 because
@aws-sdk/core
expects two new type exports that are missing from the
hoisted copy of @aws-sdk/types
.
node_modules/@aws-sdk/client-sqs/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts:1:15 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'AttributedTokenIdentity'.
1 import type { AttributedTokenIdentity, AwsSdkTokenFeatures } from "@aws-sdk/types";
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-sqs/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts:1:40 - error TS2724: '"@aws-sdk/types"' has no exported member named 'AwsSdkTokenFeatures'. Did you mean 'AwsSdkFeatures'?
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v22.11.0
Reproduction Steps
- Run
yarn add @aws-sdk/[email protected]
- Run
tsc
. - Part-way through compilation, the TS2305 / TS2724 errors appear.
Observed Behavior
Compilation fails
Expected Behavior
All packages compile cleanly without requiring manual pinning,
analogous to releases prior to this token-feature change.
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.guidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.