8 lines
No EOL
337 B
Text
8 lines
No EOL
337 B
Text
tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration6_es6.ts(1,18): error TS2304: Cannot find name 'yield'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration6_es6.ts (1 errors) ====
|
|
function*foo(a = yield) {
|
|
~~~~~
|
|
!!! error TS2304: Cannot find name 'yield'.
|
|
} |