Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
732 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * Creates a new, generic class definition in the given or default project.
|
---|
| 3 | */
|
---|
| 4 | export interface Schema {
|
---|
| 5 | /**
|
---|
| 6 | * Apply lint fixes after generating the class.
|
---|
| 7 | * @deprecated Use "ng lint --fix" directly instead.
|
---|
| 8 | */
|
---|
| 9 | lintFix?: boolean;
|
---|
| 10 | /**
|
---|
| 11 | * The name of the new class.
|
---|
| 12 | */
|
---|
| 13 | name: string;
|
---|
| 14 | /**
|
---|
| 15 | * The path at which to create the class, relative to the workspace root.
|
---|
| 16 | */
|
---|
| 17 | path?: string;
|
---|
| 18 | /**
|
---|
| 19 | * The name of the project.
|
---|
| 20 | */
|
---|
| 21 | project?: string;
|
---|
| 22 | /**
|
---|
| 23 | * Do not create "spec.ts" test files for the new class.
|
---|
| 24 | */
|
---|
| 25 | skipTests?: boolean;
|
---|
| 26 | /**
|
---|
| 27 | * Adds a developer-defined type to the filename, in the format "name.type.ts".
|
---|
| 28 | */
|
---|
| 29 | type?: string;
|
---|
| 30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.