TypeScript/tests/cases/fourslash/formattingAwait.ts
Esakki Raj 92bde084c1 Fix formatting between for and await (#21254)
* Fix issue 21084

* Removed unwanted rules.
2018-01-21 09:45:58 -08:00

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