Angular 8 References/ CLI
References

Interface generator

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

Create an interface.

Options

--lintFix#

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

--prefix#

Specifies the prefix to use.
Type string

--project#

The name of the project.
Type string