ng-zorro-antd
ng-zorro-antd copied to clipboard
refactor: migrate to standard decorators
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [x] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Application (the showcase website) / infrastructure changes
- [ ] Other... Please describe:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
@WithConfig()
装饰器现在是标准装饰器,关闭 experimentalDecorators
选项。
该 API 从未在文档中公开,应该属于 ZORRO 私有 API,因此不会对用户造成 "breaking change",
但如果用户也使用了该 API,则需要关闭 experimentalDecorators
选项。
不太确定是否需要添加 "breaking change" label。
Does this PR introduce a breaking change?
- [x] Yes
- [ ] No