TypeScript/tests/cases/fourslash/formattingAwait.ts

18 lines
311 B
TypeScript
Raw Normal View History

/// <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);
}
}`
);