7 lines
345 B
Plaintext
7 lines
345 B
Plaintext
tests/cases/conformance/es6/yieldExpressions/YieldExpression2_es6.ts(1,1): error TS1163: A 'yield' expression is only allowed in a generator body.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression2_es6.ts (1 errors) ====
|
|
yield foo;
|
|
~~~~~
|
|
!!! error TS1163: A 'yield' expression is only allowed in a generator body. |