Closed mrazauskas closed 1 year ago
@juanjoDiaz One detail which might be important. I was playing with verbatimModuleSyntax: true
in one projects which is using const enums and has preserveConstEnums: true
. In my case I was expecting enum members to be inlined at use site, but noticed that tsc
does not do this if verbatimModuleSyntax: true
.
Might be this is something you would like to double check. Reference: https://github.com/microsoft/TypeScript/issues/52669#issuecomment-1686782587
Fixes #27
For reference see TypeScript documentation:
The syntax in this PR follows the one seen in the documentation. That is the change needed to allow
verbatimModuleSyntax: true
. If you really need it.