UNPKG

schematics-utilities

Version:

🛠️ Useful exported utilities for working with Schematics

22 lines (21 loc) 833 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { WorkspaceProject } from '@angular-devkit/core/src/experimental/workspace'; /** * Returns the default options for the `@schematics/angular:component` schematic which would * have been specified at project initialization (ng new or ng init). * * This is necessary because the Angular CLI only exposes the default values for the "--style", * "--inlineStyle", "--skipTests" and "--inlineTemplate" options to the "component" schematic. */ export declare function getDefaultComponentOptions(project: WorkspaceProject): { style: string; inlineStyle: boolean; inlineTemplate: boolean; skipTests: boolean; };