@angular/material
Version:
Angular Material
20 lines (19 loc) • 778 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
*/
/// <amd-module name="@angular/material/schematics/ng-update/upgrade-rules/package-imports-v8/secondary-entry-points-rule" />
import { MigrationRule } from '@angular/cdk/schematics';
import * as ts from 'typescript';
/**
* A migration rule that updates imports which refer to the primary Angular Material
* entry-point to use the appropriate secondary entry points (e.g. @angular/material/button).
*/
export declare class SecondaryEntryPointsRule extends MigrationRule<null> {
printer: ts.Printer;
ruleEnabled: boolean;
visitNode(declaration: ts.Node): void;
}