UNPKG

@angular/cdk

Version:

Angular Material Component Development Kit

20 lines (19 loc) 809 B
/** * @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 */ /// <amd-module name="@angular/cdk/schematics/ng-update/upgrade-rules/misc-template-rule" /> import { ResolvedResource } from '../../update-tool/component-resource-collector'; import { MigrationRule } from '../../update-tool/migration-rule'; import { RuleUpgradeData } from '../upgrade-data'; /** * Rule that walks through every template and reports if there are * instances of outdated Angular CDK API that can't be migrated automatically. */ export declare class MiscTemplateRule extends MigrationRule<RuleUpgradeData> { ruleEnabled: boolean; visitTemplate(template: ResolvedResource): void; }