angular generat model

JavaScript
ng generate class hero --type=model
Source

Also in JavaScript: