关于sap:SAP-Spartacus-SplitViewComponent-Migration-的一个具体例子
参考 Pull Request:https://github.com/SAP/sparta... 首先在 docs/migration/3.0_md 里增加文字描述: projects/schematics/src/migrations/3_0/constructor-deprecations/constructor-deprecations.ts在 CONSTRUCTOR_DEPRECATION_DATA 数组里,增加一个新元素。该元素来源于:./data/split-view.component.migration 留神命名标准:split-view.component.migration, 以 migration.ts 结尾。 projects/schematics/src/migrations/3_0/constructor-deprecations/data/split-view.component.migration.ts申明废除的参数以及新引入的参数: 留神,属性值都不能间接用字符串常量,后者必须在 projects/schematics/src/shared/constants.ts 里定义: 更多Jerry的原创文章,尽在:"汪子熙":