18 lines
311 B
TypeScript
18 lines
311 B
TypeScript
|
/// <reference path='fourslash.ts'/>
|
||
|
|
||
|
////async function f() {
|
||
|
//// for await (const x of g()) {
|
||
|
//// console.log(x);
|
||
|
//// }
|
||
|
////}
|
||
|
|
||
|
|
||
|
format.document();
|
||
|
|
||
|
verify.currentFileContentIs(
|
||
|
`async function f() {
|
||
|
for await (const x of g()) {
|
||
|
console.log(x);
|
||
|
}
|
||
|
}`
|
||
|
);
|