Skip to content

fix: unnecessary down-leveled declarations written #205

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
Jul 12, 2023

Conversation

RomainMuller
Copy link
Contributor

The test that assesses whether down-leveled declarations are necessary or not accounted for the possible presence of duplicated references to node types being injected by the TypeScript compiler (microsoft/TypeScript#48143), however in some cases the reference is present more than twice, which was not correctly accounted for; resulting in emission of redundant down-level declarations.

Backports #204


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The test that assesses whether down-leveled declarations are necessary
or not accounted for the possible presence of duplicated references to
`node` types being injected by the TypeScript compiler
(microsoft/TypeScript#48143), however in some cases the reference is
present more than twice, which was not correctly accounted for;
resulting in emission of redundant down-level declarations.
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Jul 12, 2023
Merged via the queue into maintenance/v5.0 with commit e2a1f3a Jul 12, 2023
@aws-cdk-automation aws-cdk-automation deleted the rmuller/downlevel-5.0 branch July 12, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants