TypeScript/tests/baselines/reference/templateStringInYieldKeyword.errors.txt
2015-06-01 17:40:35 -07:00

11 lines
No EOL
524 B
Text

tests/cases/conformance/es6/templates/templateStringInYieldKeyword.ts(1,9): error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
==== tests/cases/conformance/es6/templates/templateStringInYieldKeyword.ts (1 errors) ====
function* gen() {
~
!!! error TS1220: Generators are only available when targeting ECMAScript 6 or higher.
// Once this is supported, the inner expression does not need to be parenthesized.
var x = yield `abc${ x }def`;
}