Arrow function used in for-loop not transformed into javascript function #11024
Labels
Bug
A bug in TypeScript
Domain: Transforms
Relates to the public transform API
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: nightly (2.0.0-dev.20160920)
TypeScript Command: tsc --target ES5 test.ts
Code (test.ts)
becomes
Expected behavior:
When I target ES5 I don't expect any arrow shorthands to end up in the final JS.
Actual behavior:
You can see that the arrow shorthand after
items.sort
is still there.The text was updated successfully, but these errors were encountered: