mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
496 B
Plaintext
11 lines
496 B
Plaintext
FunctionDeclaration5_es6.ts(1,14): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode.
|
|
FunctionDeclaration5_es6.ts(1,14): error TS7006: Parameter 'yield' implicitly has an 'any' type.
|
|
|
|
|
|
==== FunctionDeclaration5_es6.ts (2 errors) ====
|
|
function*foo(yield) {
|
|
~~~~~
|
|
!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode.
|
|
~~~~~
|
|
!!! error TS7006: Parameter 'yield' implicitly has an 'any' type.
|
|
} |