From 58a83f1e45ddaa7a289c24bc84f870b7b0500203 Mon Sep 17 00:00:00 2001 From: Yui T Date: Wed, 2 Dec 2015 13:57:10 -0800 Subject: [PATCH] Fix linter error --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 1431a91ff43..5063cb6dea2 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -15973,7 +15973,7 @@ namespace ts { : Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement; return grammarErrorOnFirstToken(variableList.declarations[1], diagnostic); } - const firstDeclaration = variableList.declarations[0] + const firstDeclaration = variableList.declarations[0]; // firstDeclaration can be undefined if there is variable declaration in for-of or for-in // See http://www.ecma-international.org/ecma-262/6.0/#sec-for-in-and-for-of-statements for details