Interface generator

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

Create an interface.



The name of the project.

Type string


Specifies the prefix to use.

Type string


Specifies whether to apply lint fixes after generating.

Type boolean
Default false