16 lines
252 B
Plaintext
16 lines
252 B
Plaintext
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck35.ts ===
|
|
function* g() {
|
|
>g : () => IterableIterator<0>
|
|
|
|
yield 0;
|
|
>yield 0 : any
|
|
>0 : 0
|
|
|
|
function g2() {
|
|
>g2 : () => string
|
|
|
|
return "";
|
|
>"" : ""
|
|
}
|
|
}
|