From fd311d4e274251208c9dc795b4d071f6ffebf822 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Tue, 8 Dec 2015 09:11:37 -0800 Subject: [PATCH] Fix lint --- src/compiler/parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 10d4a47c3df..1c41003a7a1 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -2536,7 +2536,7 @@ namespace ts { } return false; } - + function parseTypeOrTypePredicate(): TypeNode { const typePredicateVariable = tryParse(() => { const id = parseIdentifier(); @@ -2546,7 +2546,7 @@ namespace ts { } }); const t = parseType(); - if(typePredicateVariable) { + if (typePredicateVariable) { const node = createNode(SyntaxKind.TypePredicate, typePredicateVariable.pos); node.parameterName = typePredicateVariable; node.type = t;