alibaba / pont

🌉数据服务层解决方案
MIT License
3.04k stars 251 forks source link

fix:generate中getBaseClassInDeclaration函数解析泛型问题 #350

Closed FrozenQ closed 1 year ago

FrozenQ commented 1 year ago

修复getBaseClassInDeclaration函数默认baseclass中解析泛型的问题; 例如: export class DataPagingQueryResults<T0 = any> { /* code / xxx: xxx;

  /** data */
  data: defs.river.PageResult<defs.river.SiteInformation>;
}

将会变成: export class DataPagingQueryResults<T0 = any> { /* code / xxx: xxx;

  /** data */
  data: defs.river.PageResult<T0>;
}

What kind of change does this PR introduce(这个 PR 引入了什么样的变化)?

Does this PR introduce a breaking change(这次 PR 引入了一个重大变化吗)?

If yes, please describe the impact and migration path for existing applications(如果是,请描述现有应用程序的影响和迁移路径):

The PR fulfills these requirements(PR 符合以下要求)

Other information(其他信息)

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.