mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-17 07:29:22 +00:00
处理typeAlias节点的paramsInfos数据
Signed-off-by: wangcaoyu <wangcaoyu@huawei.com>
This commit is contained in:
parent
33be2dbb66
commit
41fecbd26c
@ -121,6 +121,11 @@ export class ResultsProcessHelper {
|
||||
}
|
||||
if (basicApiInfo instanceof TypeAliasInfo) {
|
||||
ResultsProcessHelper.cleanChildrenApiInfo(basicApiInfo.getTypeLiteralApiInfos());
|
||||
basicApiInfo.getParamInfos().forEach((param: ParamInfo) => {
|
||||
ResultsProcessHelper.cleanChildrenApiInfo(param.getObjLocations());
|
||||
ResultsProcessHelper.cleanChildrenApiInfo(param.getTypeLocations());
|
||||
ResultsProcessHelper.cleanApiInfo(param.getMethodApiInfo());
|
||||
});
|
||||
}
|
||||
ResultsProcessHelper.processJsDocInfos(basicApiInfo as ApiInfo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user