Skip to content

Commit caf70d8

Browse files
committed
docs: update component schematic option descriptions
Several option descriptions were outdated and have been revised for accuracy. Closes #30566
1 parent 8cccf38 commit caf70d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/schematics/angular/component/schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"name": {
2626
"type": "string",
27-
"description": "The name for the new component. This will be used to create the component's class, template, and stylesheet files. For example, if you provide `my-component`, the files will be named `my-component.component.ts`, `my-component.component.html`, and `my-component.component.css`.",
27+
"description": "The name for the new component. This will be used to create the component's class, template, and stylesheet files. For example, if you provide `my-component`, the files will be named `my-component.ts`, `my-component.html`, and `my-component.css`.",
2828
"$default": {
2929
"$source": "argv",
3030
"index": 0
@@ -38,14 +38,14 @@
3838
"alias": "b"
3939
},
4040
"inlineStyle": {
41-
"description": "Include the component's styles directly in the `component.ts` file. By default, a separate stylesheet file (e.g., `my-component.component.css`) is created.",
41+
"description": "Include the component's styles directly in the `component.ts` file. By default, a separate stylesheet file (e.g., `my-component.css`) is created.",
4242
"type": "boolean",
4343
"default": false,
4444
"alias": "s",
4545
"x-user-analytics": "ep.ng_inline_style"
4646
},
4747
"inlineTemplate": {
48-
"description": "Include the component's HTML template directly in the `component.ts` file. By default, a separate template file (e.g., `my-component.component.html`) is created.",
48+
"description": "Include the component's HTML template directly in the `component.ts` file. By default, a separate template file (e.g., `my-component.html`) is created.",
4949
"type": "boolean",
5050
"default": false,
5151
"alias": "t",

0 commit comments

Comments
 (0)