I try to write tests in typescript (ES6) using WebStorm IDE. E.g.:
// Imports... describe(\'Message\', () => { const server = express(); serv
I had this problem with IntelliJ and resolved by changing my IDE settings:
Settings -> Language & Frameworks -> TypeScript
then in the "Options" field add:
--lib es2015