generate interface

Angular Builds edited this page Oct 22, 2018 · 6 revisions

Documentation below is for CLI version 6. For version 7 see here.

ng generate interface

Overview

ng generate interface [name] <type> generates an interface

Alias

i - ng generate i [name]

Options

dry-run

--dry-run (alias: -d)

Run through without making any changes.

force

--force (alias: -f)

Forces overwriting of files.

project

--project

The name of the project.

prefix

--prefix

Specifies the prefix to use.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.