Add type option in enum generate like interface or class #20667
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
good first issue
type: bug/fix
Milestone
🚀 Feature request
Command
Description
When i generate enum
ng generate enum NotificationType
i get file namenotification-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.The text was updated successfully, but these errors were encountered: