You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any progress on this? I try typescript 4.9 still experienced this problem, I can not update typescript version due to it break my code which is relying on preprocessing those comments.
@toyobayashi this isn't assigned for any milestone -- in other words, we don't plan to fix it ourselves. If you need to do file-level preprocessing I'd strongly recommend processing the TS file before it gets transpiled.
tsc can not transpile files which include directives, so I make them be comments, after tsc output JavaScript, then just remove the // by using Node.js script. I need to keep directives in the output JavaScript files.
Bug Report
π Search Terms
comment
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
Output JavaScript using typescript 4.7.4
π Expected behavior
Output JavaScript using typescript 4.6.4
The text was updated successfully, but these errors were encountered: