Files
tsgo/testdata/baselines/reference/compiler/forAwaitInAsyncAccessor.js

20 lines
282 B
TypeScript

//// [tests/cases/compiler/forAwaitInAsyncAccessor.ts] ////
//// [a.ts]
class C {
async get x() {
for await (const y of []) {
}
}
}
//// [a.js]
"use strict";
class C {
async get x() {
for await (const y of []) {
}
}
}