porsager / flems

A single file web playground and sandbox
Do What The F*ck You Want To Public License
502 stars 87 forks source link

Have TSC target ESNext rather than the ES3 default #107

Closed pygy closed 2 years ago

pygy commented 2 years ago

This should solve this problem where spreading a set into an array gives an error, and result in snappier code than the compatbility shims that are added when TSC compiles down to ES3.

Not sure about the case of the options. The TS docs has it all in lowercase, you were using "module: ESNext"...

porsager commented 2 years ago

Uh.. thanks a lot @pygy !