| Nit on the title: it doesn't appear to be a true superset, as per- > Disallow no parens on single argument arrow function With the large number of changes introduced, everyone bound to disagree with some of them, or how some changes are implemented. That's the downside of doing too much. I disagree with a few things. I won't belabor it, but for one example: > Implicit returns, even for multi-statement functions (avoid by specifying a void return type, adding a trailing ; or explicit return This prevents me from doing command-f "return". And now the semicolon effects the function behavior? That's something easy to miss. It also makes functions with early-returns harder to skim. `return` is colored purple by my editor's syntax highlighting. ```
if (something) {
getProperties()
}
``` Does my function return if getProperties() returns? This seems hard to debug. |
Implicit returns beat implicit voids, just my opinion. TS also squiggles at you if you have a mismatched return type. Funny how two wrongs can make a right (Coffee + Types).