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

52 lines
1.2 KiB
TypeScript
Executable file

/**
* Creates a new, generic directive definition in the given or default project.
*/
export interface Schema {
/**
* The declaring NgModule exports this directive.
*/
export?: boolean;
/**
* When true (the default), creates the new files at the top level of the current project.
*/
flat?: boolean;
/**
* Apply lint fixes after generating the directive.
* @deprecated Use "ng lint --fix" directly instead.
*/
lintFix?: boolean;
/**
* The declaring NgModule.
*/
module?: string;
/**
* The name of the new directive.
*/
name: string;
/**
* The path at which to create the interface that defines the directive, relative to the
* workspace root.
*/
path?: string;
/**
* A prefix to apply to generated selectors.
*/
prefix?: string;
/**
* The name of the project.
*/
project?: string;
/**
* The HTML selector to use for this directive.
*/
selector?: string;
/**
* Do not import this directive into the owning NgModule.
*/
skipImport?: boolean;
/**
* Do not create "spec.ts" test files for the new class.
*/
skipTests?: boolean;
}