mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Remove unnecessary 'else' block.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user