Remove unnecessary 'else' block.

This commit is contained in:
Daniel Rosenwasser
2015-11-18 10:07:42 -08:00
parent 7389922eb6
commit bd84b844ff

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) {