ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Want to add notification to the NotificationArgsProps type export

Open HenryWong-fe opened this issue 4 years ago • 4 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

需要对notification做一些二次封装,但是目前看并没有提供notification的类型导出

What does the proposed API look like?

export { default as notification, NotificationArgsProps } from './notification';

HenryWong-fe avatar Jul 21 '21 02:07 HenryWong-fe

2.2.2版本里应该完善了类型

zkwolf avatar Jul 21 '21 08:07 zkwolf

2.2.2版本里应该完善了类型

很显然 2.2.2版本中依旧存在多个组件未导出type类型的情况

HenryWong-fe avatar Jul 21 '21 08:07 HenryWong-fe

重构中的组件基本就顺便加了,还没加的有需求可以单独提一下

zkwolf avatar Jul 21 '21 08:07 zkwolf

same issue

"dependencies": {
    "ant-design-vue": "^3.2.12"
}

kortin99 avatar Oct 11 '22 05:10 kortin99