Interface generator

This is the documentation for Angular 6.
You can switch to the latest version Angular 7.
ng generate interface [name] [type] [--[argument]=[value]]
ng generate i

Create an interface.

Options

project#

The name of the project.

Type string

prefix#

Specifies the prefix to use.

Type string

lintFix#

Specifies whether to apply lint fixes after generating.

Type boolean
Default false