mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
35 lines
721 B
TypeScript
35 lines
721 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. 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
|
|
*/
|
|
|
|
export interface Schema {
|
|
/**
|
|
* The name of the guard.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* Specifies if a spec file is generated.
|
|
*/
|
|
spec?: boolean;
|
|
/**
|
|
* Flag to indicate if a dir is created.
|
|
*/
|
|
flat?: boolean;
|
|
/**
|
|
* The path to create the interface.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project?: string;
|
|
/**
|
|
* Specifies whether to apply lint fixes after generating the component.
|
|
*/
|
|
lintFix?: boolean;
|
|
}
|