UNPKG

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