Skip to content

fix(types): node-http-handler type imports and @aws-sdk/types exports #4610

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

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

MYoung25
Copy link
Contributor

@MYoung25 MYoung25 commented Apr 4, 2023

Description

Add types introduced in 86a6046 to declaration file entry point, index.ts, and fix imports in @aws-sdk/node-http-handler

Testing

yarn build:all and yarn lerna run --scope="@aws-sdk/node-http-handler" test

Additional context

Forcing types to be imported from a TypeScript source file is a poor practice, the preferred method is to allow the compiler to choose from source and declaration files based on context.

It also causes documentation extraction to break with an ae-wrong-input-file-type error.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@MYoung25 MYoung25 requested review from a team as code owners April 4, 2023 16:18
@MYoung25 MYoung25 merged commit 8ee06d4 into aws:main Apr 4, 2023
@MYoung25 MYoung25 deleted the fix/type-imports branch April 4, 2023 16:40
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants