8 lines
425 B
Plaintext
8 lines
425 B
Plaintext
tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration5_es6.ts(1,14): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here.
|
|
|
|
|
|
==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration5_es6.ts (1 errors) ====
|
|
function*foo(yield) {
|
|
~~~~~
|
|
!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here.
|
|
} |