Angular 7 References/ CLI

Interface generator

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

Create an interface.



Specifies whether to apply lint fixes after generating.
Type boolean
Default false


Specifies the prefix to use.
Type string


The name of the project.
Type string