1ng generate interface <name> <type> [options]
2ng g interface <name> <type> [options]
3
4# <name> The name of the interface.
5# <type> Adds a developer-defined type to the filename, in the format "name.type.ts".
6# [options]
7# --lintFix=true|false When true, applies lint fixes after generating the interface (Default: false)
8# --prefix=prefix A prefix to apply to generated selectors
9# --project=project The name of the project.
10
11# e.g.
12# ng generate interface Itest sometype generates file name itest.sometype.ts
1ng g component [directory-where-you-want-to-save-the-component]/[new-component-name]
2
3ng generate component [directory-where-you-want-to-save-the-component]/[new-component-name]