This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/**
* @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.dev/license
*/
import { Schema } from '@schematics/angular/component/schema';
import { ProjectDefinition } from '@schematics/angular/utility';
import { Tree } from '@angular-devkit/schematics';
/**
* 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: ProjectDefinition): Partial<Schema>;
/** Determines whether the schematic is configured to be standalone. */
export declare function isStandaloneSchematic(host: Tree, options: Schema): Promise<boolean>;