9 lines
No EOL
344 B
Text
9 lines
No EOL
344 B
Text
tests/cases/compiler/yieldExpression1.ts(1,9): error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
|
|
|
|
|
|
==== tests/cases/compiler/yieldExpression1.ts (1 errors) ====
|
|
function* foo() {
|
|
~
|
|
!!! error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
|
|
yield
|
|
} |