add-impl.d.ts 821 B

1234567891011121314
  1. import { Arguments } from '../models/interface';
  2. import { SchematicCommand } from '../models/schematic-command';
  3. import { Schema as AddCommandSchema } from './add';
  4. export declare class AddCommand extends SchematicCommand<AddCommandSchema> {
  5. readonly allowPrivateSchematics = true;
  6. readonly allowAdditionalArgs = true;
  7. readonly packageManager: import("../../../../dist-schema/packages/angular/cli/lib/config/schema").PackageManager;
  8. run(options: AddCommandSchema & Arguments): Promise<number | void>;
  9. reportAnalytics(paths: string[], options: AddCommandSchema & Arguments, dimensions?: (boolean | number | string)[], metrics?: (boolean | number | string)[]): Promise<void>;
  10. private isPackageInstalled;
  11. private executeSchematic;
  12. private findProjectVersion;
  13. private hasMismatchedPeer;
  14. }