11 lines
No EOL
440 B
Text
11 lines
No EOL
440 B
Text
tests/cases/conformance/es6/yieldExpressions/YieldExpression16_es6.ts(3,5): error TS1163: 'yield' expression must be contained_within a generator declaration.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression16_es6.ts (1 errors) ====
|
|
function* foo() {
|
|
function bar() {
|
|
yield foo;
|
|
~~~~~
|
|
!!! error TS1163: 'yield' expression must be contained_within a generator declaration.
|
|
}
|
|
} |