Talk with @CyrusNajmabadi . Currently we have following different types of comments:
- Pinned comment
- Triple-slash
- Detached comment (i.e. copy right)
- Normal comment (
//, /* */, /** **/)
Currently, compilerOptions.removeComments will remove everything but pinned comment and detached comment. However, in some case, users may want to preserve triple-slash or may want to get ride of detached comment. Thus, it will be useful to have a compiler flag that allows users to specify what kind of comments to be remove and by default compilerOptions.removeComments should remove all but pinned comments
Talk with @CyrusNajmabadi . Currently we have following different types of comments:
//,/* */,/** **/)Currently,
compilerOptions.removeCommentswill remove everything but pinned comment and detached comment. However, in some case, users may want to preserve triple-slash or may want to get ride of detached comment. Thus, it will be useful to have a compiler flag that allows users to specify what kind of comments to be remove and by defaultcompilerOptions.removeCommentsshould remove all but pinned comments