13 lines
No EOL
593 B
Text
13 lines
No EOL
593 B
Text
tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts(1,1): error TS2304: Cannot find name 'yield'.
|
|
tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts(2,9): error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts (2 errors) ====
|
|
yield(foo);
|
|
~~~~~
|
|
!!! error TS2304: Cannot find name 'yield'.
|
|
function* foo() {
|
|
~
|
|
!!! error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
|
|
yield(foo);
|
|
} |