We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b142bfc commit 1fe7d3fCopy full SHA for 1fe7d3f
scripts/tslint/preferConstRule.ts
@@ -9,10 +9,6 @@ export class Rule extends Lint.Rules.AbstractRule {
9
}
10
11
12
-function isBindingPattern(node: ts.Node): node is ts.BindingPattern {
13
- return !!node && (node.kind === ts.SyntaxKind.ArrayBindingPattern || node.kind === ts.SyntaxKind.ObjectBindingPattern);
14
-}
15
-
16
function isLet(node: ts.Node) {
17
return !!(ts.getCombinedNodeFlags(node) & ts.NodeFlags.Let);
18
0 commit comments