diff --git a/scripts/tslint/preferConstRule.ts b/scripts/tslint/preferConstRule.ts index b1394c3bd1f..60d771863be 100644 --- a/scripts/tslint/preferConstRule.ts +++ b/scripts/tslint/preferConstRule.ts @@ -9,10 +9,6 @@ export class Rule extends Lint.Rules.AbstractRule { } } -function isBindingPattern(node: ts.Node): node is ts.BindingPattern { - return !!node && (node.kind === ts.SyntaxKind.ArrayBindingPattern || node.kind === ts.SyntaxKind.ObjectBindingPattern); -} - function isLet(node: ts.Node) { return !!(ts.getCombinedNodeFlags(node) & ts.NodeFlags.Let); }