1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
=== tests/cases/conformance/emitter/es5/asyncGenerators/C1.ts ===
class C1 {
>C1 : C1
async * f() {
>f : () => AsyncGenerator<never, void, unknown>
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C2.ts ===
class C2 {
>C2 : C2
async * f() {
>f : () => AsyncGenerator<any, void, unknown>
const x = yield;
>x : any
>yield : any
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C3.ts ===
class C3 {
>C3 : C3
async * f() {
>f : () => AsyncGenerator<number, void, unknown>
const x = yield 1;
>x : any
>yield 1 : any
>1 : 1
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C4.ts ===
class C4 {
>C4 : C4
async * f() {
>f : () => AsyncGenerator<number, void, undefined>
const x = yield* [1];
>x : any
>yield* [1] : any
>[1] : number[]
>1 : 1
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C5.ts ===
class C5 {
>C5 : C5
async * f() {
>f : () => AsyncGenerator<number, void, unknown>
const x = yield* (async function*() { yield 1; })();
>x : void
>yield* (async function*() { yield 1; })() : void
>(async function*() { yield 1; })() : AsyncGenerator<number, void, unknown>
>(async function*() { yield 1; }) : () => AsyncGenerator<number, void, unknown>
>async function*() { yield 1; } : () => AsyncGenerator<number, void, unknown>
>yield 1 : any
>1 : 1
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C6.ts ===
class C6 {
>C6 : C6
async * f() {
>f : () => AsyncGenerator<never, void, unknown>
const x = await 1;
>x : 1
>await 1 : 1
>1 : 1
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C7.ts ===
class C7 {
>C7 : C7
async * f() {
>f : () => AsyncGenerator<never, number, unknown>
return 1;
>1 : 1
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C8.ts ===
class C8 {
>C8 : C8
g() {
>g : () => void
}
async * f() {
>f : () => AsyncGenerator<never, void, unknown>
this.g();
>this.g() : void
>this.g : () => void
>this : this
>g : () => void
}
}
=== tests/cases/conformance/emitter/es5/asyncGenerators/C9.ts ===
class B9 {
>B9 : B9
g() {}
>g : () => void
}
class C9 extends B9 {
>C9 : C9
>B9 : B9
async * f() {
>f : () => AsyncGenerator<never, void, unknown>
super.g();
>super.g() : void
>super.g : () => void
>super : B9
>g : () => void
}
}
|