Remove unnecessary 'else' block.

This commit is contained in:
Daniel Rosenwasser committed 2015-11-18 10:07:42 -08:00
1 parent 7389922eb6
commit bd84b844ff
1 file changed
-3
-3
View File
@@ -114,9 +114,6 @@ class PreferConstWalker extends Lint.RuleWalker {
else if (kind === ts.SyntaxKind.PropertyAssignment) {
this.visitLeftHandSideExpression((element as ts.PropertyAssignment).initializer);
}
else {
// Should we throw an exception?
}
}
}
else if (node.kind === ts.SyntaxKind.ArrayLiteralExpression) {