A TypeScript Class can be generated with Angular-CLI. In your IDE, open your terminal.
- Go to View>Integrated Terminal.
Now, type “ng g class <className>”. In our example, let’s use the name Bonds.
A new class named Bonds is generated. In succeeding blog posts, we will give a more in-depth TypeScript tutorial.