inline comments are striped in emitted declaration files #28199
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
TypeScript Version: 3.1.3
Search Terms: inline comments striped
tsconfig
Code:
Expected behavior:
Keeping both block and inline comments in declaration files in both transpiled files and declaration files
Actual behavior:
Inline comments are removed in declaration files
![image](https://user-images.githubusercontent.com/1223799/47649377-6e234400-db7d-11e8-8bb1-85bef3edb025.png)
And correctly kept within transpiled files
![image](https://user-images.githubusercontent.com/1223799/47649543-e5f16e80-db7d-11e8-9988-035da78f6461.png)
The text was updated successfully, but these errors were encountered: