-
Notifications
You must be signed in to change notification settings - Fork 676
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
问一个接口的问题 #156
Comments
需要显式声明 interface ObjINF2 extends ObjINF1 {...} 才能保证 ObjINF2 类型可以赋值给 ObjINF1 类型,a3 是用字面量定义的所以没问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
为什么a2报错了 a3 反而正确
The text was updated successfully, but these errors were encountered: