UNPKG

732 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Rule } from '@angular-devkit/schematics';
9/**
10 * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
11 * automatically executed if developers run `ng add @angular/cdk`.
12 *
13 * By default, the CLI already installs the package that has been specified with `ng add`.
14 * We just store the version in the `package.json` in case the package manager didn't. Also
15 * this ensures that there will be no error that says that the CDK does not support `ng add`.
16 */
17export default function (): Rule;