December 2017
Beginner
372 pages
10h 32m
English
Generating an interface is same as generating a class, with the difference being the command for interface rather than class as shown here:
ng generate interface IBoard
We can also use the alias for generate and interface as shown in the following command, which will result in the same output as the preceding command:
ng g i IBoard
Read now
Unlock full access