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
https://pro.ant.design/zh-CN/docs/type-script 文中提到,推荐任何时候都是用 type
那么继承是使用 type & type 是吗?
听说 & 交集不如 interface的extends 效率高
下文中有提到 https://www.totaltypescript.com/type-vs-interface-which-should-you-use
问题一:全用type ,请问,存在这个不如extends的效率问题吗? 问题二:建议在src/services/API.d.ts定义,项目比较大时全定义在一个文件显然不合适,推荐怎么分文件定义嗯?
The text was updated successfully, but these errors were encountered:
https://pro.ant.design/zh-CN/docs/type-script
文中提到,推荐任何时候都是用 type
那么继承是使用 type & type 是吗?
听说 & 交集不如 interface的extends 效率高
下文中有提到
https://www.totaltypescript.com/type-vs-interface-which-should-you-use
问题一:全用type ,请问,存在这个不如extends的效率问题吗?
问题二:建议在src/services/API.d.ts定义,项目比较大时全定义在一个文件显然不合适,推荐怎么分文件定义嗯?
The text was updated successfully, but these errors were encountered: