12 lines
267 B
Text
12 lines
267 B
Text
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck43.ts ===
|
|
function* g() {
|
|
>g : Symbol(g, Decl(generatorTypeCheck43.ts, 0, 0))
|
|
|
|
let x = {
|
|
>x : Symbol(x, Decl(generatorTypeCheck43.ts, 1, 7))
|
|
|
|
*[yield 0]() {
|
|
|
|
}
|
|
}
|
|
}
|