We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type
interface
使用 type 描述”类型关系“,使用 interface 描述”数据结构“。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一、相同点
type
通过 & 扩展;而接口interface
通过 extends 来扩展。二、不同点(区别)
三、使用场景
type类型别名的使用场景
interface接口的使用场景
The text was updated successfully, but these errors were encountered: