Code Forces Solutions
Submissions should have only var
, let
and const
give compilation errors.
It seems as it supports ES5 at maximum. So no array spread eitherl.
Best option is to just run
tsc path --module es6 --moduleResolution node
or set an npm command like
build: tsc --module es6 --moduleResolution node