UNPKG

583 BTypeScriptView Raw
1import { Rule } from '@angular-devkit/schematics';
2import { Schema as ComponentOptions } from '../angular';
3/**
4 * Rule that copies and interpolates the files that belong to this schematic context. Additionally
5 * a list of file paths can be passed to this rule in order to expose them inside the EJS
6 * template context.
7 *
8 * This allows inlining the external template or stylesheet files in EJS without having
9 * to manually duplicate the file content.
10 */
11export declare function buildComponent(options: ComponentOptions, additionalFiles?: {
12 [key: string]: string;
13}): Rule;