tests/cases/conformance/es6/functionExpressions/FunctionExpression2_es6.ts(1,18): error TS1220: Generators are only available when targeting ECMAScript 6 or higher.


==== tests/cases/conformance/es6/functionExpressions/FunctionExpression2_es6.ts (1 errors) ====
    var v = function * foo() { }
                     ~
!!! error TS1220: Generators are only available when targeting ECMAScript 6 or higher.