expected should indent by 2

This commit is contained in:
kamontat 2017-07-15 23:47:17 +07:00
parent 87f35c895a
commit 8d846c6aa7
1 changed files with 51 additions and 51 deletions

View File

@ -1,55 +1,55 @@
module XYZ { module XYZ {
interface I { interface I {
x: number, x: number,
y, y,
z z
}
var zZz = {
a: 123,
b: 456
};
enum En {
AB,
CD
}
var y = 3;
switch (y {
case X:
console.log("x");
break;
default:
console.log("y");
}
if (x === 3) {
if (y === 4) {
console.log("hey");
}
console.log("x");
x = y.hey
.b
.c
.d;
export class X {
private x: number;
constructor() {
console.log("hi");
}
public mem() {
console.log("yes");
}
} }
var zZz = { function xyz() {
a: 123, function mem() {
b: 456 console.log("yes");
}; }
enum En {
AB,
CD
}
var y = 3;
switch (y {
case X:
console.log("x");
break;
default:
console.log("y");
}
if (x === 3) {
if (y === 4) {
console.log("hey");
}
console.log("x");
x = y.hey
.b
.c
.d;
export class X {
private x: number;
constructor() {
console.log("hi");
}
public mem() {
console.log("yes");
}
}
function xyz() {
function mem() {
console.log("yes");
}
}
} }
}