From e32849d51074ed105629153edae48c4c8a2a2c32 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Fri, 3 May 2019 12:30:46 -1000 Subject: [PATCH] Revert accidental indentation change --- tests/cases/compiler/partiallyDiscriminantedUnions.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cases/compiler/partiallyDiscriminantedUnions.ts b/tests/cases/compiler/partiallyDiscriminantedUnions.ts index 48fac4a7ac99d..b4f89951f4cdb 100644 --- a/tests/cases/compiler/partiallyDiscriminantedUnions.ts +++ b/tests/cases/compiler/partiallyDiscriminantedUnions.ts @@ -38,9 +38,9 @@ function isShape(s : Shapes): s is Shape { } function fail(s: Shapes) { -if (isShape(s)) { - if (s.kind === "circle") { - let c: Circle = s; + if (isShape(s)) { + if (s.kind === "circle") { + let c: Circle = s; + } } -} } \ No newline at end of file