projecte_ionic/node_modules/@schematics/angular/class/schema.d.ts
2022-02-09 18:30:03 +01:00

31 lines
732 B
TypeScript
Executable file

/**
* Creates a new, generic class definition in the given or default project.
*/
export interface Schema {
/**
* Apply lint fixes after generating the class.
* @deprecated Use "ng lint --fix" directly instead.
*/
lintFix?: boolean;
/**
* The name of the new class.
*/
name: string;
/**
* The path at which to create the class, relative to the workspace root.
*/
path?: string;
/**
* The name of the project.
*/
project?: string;
/**
* Do not create "spec.ts" test files for the new class.
*/
skipTests?: boolean;
/**
* Adds a developer-defined type to the filename, in the format "name.type.ts".
*/
type?: string;
}