tests/cases/conformance/es6/yieldExpressions/YieldExpression4_es6.ts(1,9): error TS1220: Generators are only available when targeting ECMAScript 2015 or higher.


==== tests/cases/conformance/es6/yieldExpressions/YieldExpression4_es6.ts (1 errors) ====
    function* foo() {
            ~
!!! error TS1220: Generators are only available when targeting ECMAScript 2015 or higher.
      yield;
      yield;
    }