build-component.d.ts 812 B

1234567891011121314151617181920
  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.dev/license
  7. */
  8. import { Rule } from '@angular-devkit/schematics';
  9. import { Schema as ComponentOptions } from '@schematics/angular/component/schema';
  10. /**
  11. * Rule that copies and interpolates the files that belong to this schematic context. Additionally
  12. * a list of file paths can be passed to this rule in order to expose them inside the EJS
  13. * template context.
  14. *
  15. * This allows inlining the external template or stylesheet files in EJS without having
  16. * to manually duplicate the file content.
  17. */
  18. export declare function buildComponent(options: ComponentOptions, additionalFiles?: {
  19. [key: string]: string;
  20. }): Rule;