mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
25 lines
527 B
Markdown
25 lines
527 B
Markdown
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
|
|
|
|
# ng generate interface
|
|
|
|
## Overview
|
|
`ng generate interface [name] <type>` generates an interface
|
|
|
|
## Options
|
|
<details>
|
|
<summary>app</summary>
|
|
<p>
|
|
<code>--app</code> (aliases: <code>-a</code>) <em>default value: 1st app</em>
|
|
</p>
|
|
<p>
|
|
Specifies app name to use.
|
|
</p>
|
|
</details>
|
|
|
|
<details>
|
|
<summary>type</summary>
|
|
<p>
|
|
Optional String to specify the type of interface.
|
|
</p>
|
|
</details>
|