From 958620b46d628a538fb4f1ae5d96ef0a165083ba Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Wed, 27 Jul 2016 08:30:22 -0700 Subject: [PATCH] Fix lint errors --- src/services/services.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/services.ts b/src/services/services.ts index cec97a4c906..4948238907f 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2950,7 +2950,7 @@ namespace ts { /* @internal */ export function getNodeKind(node: Node): string { switch (node.kind) { case SyntaxKind.SourceFile: - return isExternalModule( node) ? ScriptElementKind.moduleElement : ScriptElementKind.scriptElement; + return isExternalModule(node) ? ScriptElementKind.moduleElement : ScriptElementKind.scriptElement; case SyntaxKind.ModuleDeclaration: return ScriptElementKind.moduleElement; case SyntaxKind.ClassDeclaration: @@ -2960,9 +2960,9 @@ namespace ts { case SyntaxKind.TypeAliasDeclaration: return ScriptElementKind.typeElement; case SyntaxKind.EnumDeclaration: return ScriptElementKind.enumElement; case SyntaxKind.VariableDeclaration: - return getKindOfVariableDeclaration( node); + return getKindOfVariableDeclaration(node); case SyntaxKind.BindingElement: - return getKindOfVariableDeclaration( getRootDeclaration(node)); + return getKindOfVariableDeclaration(getRootDeclaration(node)); case SyntaxKind.ArrowFunction: case SyntaxKind.FunctionDeclaration: case SyntaxKind.FunctionExpression: