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