You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
732 B

/**
* 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;
}