Skip to content
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

Strip-comments strips source code for some files #75

Open
trivikr opened this issue Sep 13, 2022 · 0 comments
Open

Strip-comments strips source code for some files #75

trivikr opened this issue Sep 13, 2022 · 0 comments

Comments

@trivikr
Copy link

trivikr commented Sep 13, 2022

Describe the bug

We use strip-comments to strip comments from downleveled .d.ts files in AWS SDK for JavaScript (v3).
We noticed that in some cases, it strips the source code.

Steps to reproduce

Follow README from https://github.com/trivikr/strip-comments-test

Observed behavior

The Wisdom.output.d.ts file has source code stripped.

Expected behavior

The Wisdom.output.d.ts file only has comments stripped.

Additional context

Bug report on AWS SDK for JavaScript (v3) aws/aws-sdk-js-v3#3847

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

No branches or pull requests

1 participant