generate-from-files.d.ts 617 B

123456789101112131415161718
  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. export interface GenerateFromFilesOptions {
  10. flat?: boolean;
  11. name: string;
  12. path?: string;
  13. prefix?: string;
  14. project: string;
  15. skipTests?: boolean;
  16. templateFilesDirectory?: string;
  17. }
  18. export declare function generateFromFiles(options: GenerateFromFilesOptions, extraTemplateValues?: Record<string, string | ((v: string) => string)>): Rule;