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
I have type Result<A, B> which is returned by many of my methods.
class Result<A,B> {
A value;
List<B> extra;
...
}
When Result<Void, Void> is returned the returned definition correctly removes the value property, but the extra property is specified as an array with no type.
I tried adding an alternateTypeRule to map this to another class type that would have the correct signature, but this didn't result in the expected result. The type name changed in the definitions list, but not in the method signatures, and the properties of the original Result type were used, not the SimpleResult properties.
I have type Result<A, B> which is returned by many of my methods.
When Result<Void, Void> is returned the returned definition correctly removes the
value
property, but theextra
property is specified as an array with no type.I tried adding an
alternateTypeRule
to map this to another class type that would have the correct signature, but this didn't result in the expected result. The type name changed in thedefinitions
list, but not in the method signatures, and the properties of the originalResult
type were used, not theSimpleResult
properties.The text was updated successfully, but these errors were encountered: