📜  angular cli interface generate - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:38.152000             🧑  作者: Mango

代码示例2
ng generate interface   [options]
ng g interface   [options]

#     The name of the interface.
#     Adds a developer-defined type to the filename, in the format "name.type.ts".
# [options]
#    --lintFix=true|false    When true, applies lint fixes after generating the interface (Default: false)
#    --prefix=prefix            A prefix to apply to generated selectors
#    --project=project        The name of the project.

# e.g.
# ng generate interface Itest sometype        generates file name        itest.sometype.ts