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
May as well bump target in tsconfig.js to at least es2016. It's even possible es2017 works here 🥁
There is only one feature in in ES2016 that is missing from Node 6 – exponentiation operator. There is a slight risk that transpiled code will not work with Node 6 if exponentiation operator is in use, but given that the use is rare, I think it makes sense to use es2016 as the default. Users that run into trouble can always downgrade the target in their tsconfig.json. There is significant benefit to majority of the users from es2016.
es2017 has features that are only available in Node 8+ (e.g. async functions). I'm 👎 on switching to it.
The text was updated successfully, but these errors were encountered:
@JustinBeckwith asked in #146:
tsconfig.json
. There is significant benefit to majority of the users from es2016.The text was updated successfully, but these errors were encountered: