generate enum
Command
ng generate enumng generate eGenerates a new, generic enum definition in the given project.
Arguments
nameThe name of the enum.
Value Type
stringOptions
projectThe name of the project in which to create the enum. Default is the configured default project for the workspace.
Value Type
stringtypeAdds a developer-defined type to the filename, in the format "name.type.ts".
Value Type
stringJump to details