@angular/material
Version:
Angular Material
20 lines (19 loc) • 765 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { ProgramAwareRuleWalker, RuleFailure, Rules } from 'tslint';
import * as ts from 'typescript';
/**
* Rule that walks through every property access expression and and reports to TSLint if
* a given property name is no longer existing but cannot be automatically migrated.
*/
export declare class Rule extends Rules.TypedRule {
applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): RuleFailure[];
}
export declare class Walker extends ProgramAwareRuleWalker {
visitPropertyAccessExpression(node: ts.PropertyAccessExpression): void;
}