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
interface
type
extends
implements
The text was updated successfully, but these errors were encountered:
No branches or pull requests
区别
interface
只能定义对象类型,type
可以定义原始类型、联合类型、交叉类型interface
可以实现extends
和implements
,type
不行interface
定义的同名接口属性可以合并,而type
不行The text was updated successfully, but these errors were encountered: