We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7389922 commit bd84b84Copy full SHA for bd84b84
scripts/tslint/preferConstRule.ts
@@ -114,9 +114,6 @@ class PreferConstWalker extends Lint.RuleWalker {
114
else if (kind === ts.SyntaxKind.PropertyAssignment) {
115
this.visitLeftHandSideExpression((element as ts.PropertyAssignment).initializer);
116
}
117
- else {
118
- // Should we throw an exception?
119
- }
120
121
122
else if (node.kind === ts.SyntaxKind.ArrayLiteralExpression) {
0 commit comments