index.d.ts 865 B

12345678910111213141516171819
  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. */
  8. import { Rule } from '@angular-devkit/schematics';
  9. /** Name of the Angular CDK version that is shipped together with the schematics. */
  10. export declare const cdkVersion: string | null;
  11. /**
  12. * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
  13. * automatically executed if developers run `ng add @angular/cdk`.
  14. *
  15. * By default, the CLI already installs the package that has been specified with `ng add`.
  16. * We just store the version in the `package.json` in case the package manager didn't. Also
  17. * this ensures that there will be no error that says that the CDK does not support `ng add`.
  18. */
  19. export default function (): Rule;