Enum generator

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

Create an enumeration.

Options

project#

The name of the project.

Type string

lintFix#

Specifies whether to apply lint fixes after generating the enum.

Type boolean
Default false