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
FYI 100% comment preservation is not a goal of TS's emitter and you should try not to put yourself in a position where you need all comments in arbitrary positions to be maintained.
π Search Terms
"missing comments", "missing comments in .js output", "trailing comments"
π Version & Regression Information
Happens in every version available in the playground (3.3.3 to v5.8.0-dev.20241218)
β― Playground Link
https://www.typescriptlang.org/play/?ts=5.7.2#code/MYGwhgzhAECC0G8CwAoa7oHpPQNYFN8AHAWggHsAnAF3wBNoJqwbUNoBbfagC3LtgAKAJSI27DMHIA7CiHwA6EOQDmggEQUa9dcIDc49AF9DWHAWJkqtBvml1URoA
π» Code
π Actual behavior
// keep-sorted end
is missing in the .js output.π Expected behavior
// keep-sorted end
is retained in the .js output.Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: