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
There's a situation that might motivate this further than just "it's simpler" which is that perhaps generics have been added to Foo but backwards compatibility is provided through the default type.
If a type is specified using just default types, should the tool drop those types from the output?
The text was updated successfully, but these errors were encountered:
ExpectType is more or less the same as hovering, and hovering will show the instantiation. We call typeToString, and there doesn't seem to be a formatting flag that would omit type arguments when only defaults were used either.
Consider the following example:
Should this be rendered instead as just
Foo
– ?There's a situation that might motivate this further than just "it's simpler" which is that perhaps generics have been added to
Foo
but backwards compatibility is provided through the default type.If a type is specified using just default types, should the tool drop those types from the output?
The text was updated successfully, but these errors were encountered: