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"...
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"...