mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath
This commit is contained in:
commit
d87fc8b96a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user