You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently unknown type are represented implicitly with native JsType interfaces but this is not a future proof solution since Closure supports interfaces. As a result those native JsType interfaces actually point to a real known type.
We should have a more explicit support for unknown types like: @jstype(name=JsType.UNKNOWN)
Name '?' (aka. unknown type) should be preferred over 'Object' when the
type is unknown while '*' (aka. any) as the super type of any type in
JavaScript (incl. primitives).
For GWT there are no implications on the generated code however other
tools could utilize this value for better type information.
Bug: #9341
Bug-Link: #9341
Change-Id: If07125d9c7eab21e7b11858fdfde0b84eb2886bd
Currently unknown type are represented implicitly with native JsType interfaces but this is not a future proof solution since Closure supports interfaces. As a result those native JsType interfaces actually point to a real known type.
We should have a more explicit support for unknown types like: @jstype(name=JsType.UNKNOWN)
@rluble
The text was updated successfully, but these errors were encountered: