Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对component API 可传null的地方 添加 null类型支持 #2700

Closed
Sevenonclick opened this issue Dec 27, 2018 · 1 comment
Closed

对component API 可传null的地方 添加 null类型支持 #2700

Sevenonclick opened this issue Dec 27, 2018 · 1 comment

Comments

@Sevenonclick
Copy link

What problem does this feature solve?

解决强制类型检查编译不过的问题(公司要求严格类型检查,文档告诉我要用null,但是接口定义并不支持接收null参数)

What does the proposed API look like?

nzFooter: string | TemplateRef<{}> | Array<ModalButtonOptions<T> | null>;

@vthinkxie
Copy link
Member

plz track #2884

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants