Skip to content

Add type option in enum generate like interface or class #20667

Closed
@mephistorine

Description

@mephistorine

🚀 Feature request

Command

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

When i generate enum ng generate enum NotificationType i get file name notification-type.enum.ts.

Describe the solution you'd like

I can't get rid of the ".enum" part in the filename and a parameter to control it — no. Interface or class have option type, probably could add the same option in enum generation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions