I've been searching for an answer to this question for a while and am getting mixed messages. I know semicolons are necessary in JavaScript because of the automatic semicolon insertion (ASI), but does TypeScript have the same restriction?
I would assume that it doesn't, since it transpiles down to JavaScript, and most likely inserts a semicolon for you in the places where the ASI would cause a problem. But I would like to know for sure.