16 lines
250 B
Plaintext
16 lines
250 B
Plaintext
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck38.ts ===
|
|
var yield;
|
|
>yield : any
|
|
|
|
function* g() {
|
|
>g : () => IterableIterator<0>
|
|
|
|
yield 0;
|
|
>yield 0 : any
|
|
>0 : 0
|
|
|
|
var v: typeof yield;
|
|
>v : any
|
|
>yield : any
|
|
}
|