Skip to content

Commit bd84b84

Browse files
Remove unnecessary 'else' block.
1 parent 7389922 commit bd84b84

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/tslint/preferConstRule.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ class PreferConstWalker extends Lint.RuleWalker {
114114
else if (kind === ts.SyntaxKind.PropertyAssignment) {
115115
this.visitLeftHandSideExpression((element as ts.PropertyAssignment).initializer);
116116
}
117-
else {
118-
// Should we throw an exception?
119-
}
120117
}
121118
}
122119
else if (node.kind === ts.SyntaxKind.ArrayLiteralExpression) {

0 commit comments

Comments
 (0)