typescript: run the autoformatter
The first diff, with weird wrapping is unfortunate (I filed a bug about
it) but in general we always autoformat and the other changes are good.
This reduces the diff of subsequent changes.
@@ -694,8 +694,7 @@ class Vistor {
visitVariableDeclaration(decl: {
name: ts.BindingName|ts.PropertyName,
type?: ts.TypeNode,
- initializer?: ts.Expression,
- kind: ts.SyntaxKind
+ initializer?: ts.Expression, kind: ts.SyntaxKind,
}): VName|undefined {
let vname: VName|undefined;
switch (decl.name.kind) {
@@ -932,7 +931,8 @@ class Vistor {
case ts.SyntaxKind.PropertyAssignment: // property in object literal
case ts.SyntaxKind.PropertyDeclaration:
case ts.SyntaxKind.PropertySignature:
- const vname = this.visitVariableDeclaration(node as ts.PropertyDeclaration);
+ const vname =
+ this.visitVariableDeclaration(node as ts.PropertyDeclaration);
if (vname) this.visitJSDoc(node, vname);
return;
case ts.SyntaxKind.ArrowFunction:
