@acoustic-content-sdk/tooling-feature-module 中文文档教程
实现对功能模块支持的工具功能。
Home > @acoustic-content-sdk/tooling-feature-module
tooling-feature-module package
实现对功能模块支持的工具功能。
Functions
Function | Description |
---|---|
generateFeatureModule(options) | Command to add ng-add support to a feature module. |
Interfaces
Interface | Description |
---|---|
GenerateFeatureModuleSchema |
Variables
Variable | Description |
---|---|
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/tooling-feature-module > generateFeatureModule
generateFeatureModule() function
命令将 ng-add
支持添加到功能模块。
签名:
export declare function generateFeatureModule(options: GenerateFeatureModuleSchema): (aReadText: ReadTextFile, aLogSvc?: LoggerService) => Observable<FileDescriptor<string>>;
Parameters
Parameter | Type | Description |
---|---|---|
options | GenerateFeatureModuleSchema |
the schematics object used to describe the feature module |
返回:
(aReadText: ReadTextFile, aLogSvc?: LoggerService) => Observable
the command
Home > @acoustic-content-sdk/tooling-feature-module > GenerateFeatureModuleSchema
GenerateFeatureModuleSchema interface
Signature:
export interface GenerateFeatureModuleSchema
Properties
Property | Type | Description |
---|---|---|
module | string |
Name of the module, may be a comma separated list |
Home > ; @acoustic-content-sdk/tooling-feature-module > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
首页 > @acoustic-content-sdk/tooling-feature-module > 生成FeatureModuleSchema > 模块 模块
GenerateFeatureModuleSchema.module property
名称,可以是逗号分隔列表
签名
module: string;