I've tried to find an explanation in the TypeScript docs of why my transpiled JavaScript is now using String.concat() when it used to use the addition operator. I can't determine what in my project or tool chain changed to cause the difference in the transpiled files. Let me provide an example of what I'm trying to describe.
Transpiled TypeScript files from a few months ago would transpile this TypeScript:
`Order #${order.tranid} (IID ${order.id}) is ineligible for processing - exiting`
into this JavaScript:
"Order #" + order.tranid + " (IID " + order.id + ") is ineligible for processing - exiting"
Now when I work with this project, the same TypeScript will generate:
"Order #".concat(order.tranid, " (IID ").concat(order.id, ") is ineligible for processing - exiting"
My question is: Does anyone here know what could be responsible for the different output? Was this a change to the compiler recently? As I mentioned at the beginning, I can't find anything in my searches that explains it.