Worth updating methods signatures from T to Target? #3968
Replies: 3 comments
-
Oh, it probably breaks compatability with 0.11 plugins, because those refer to |
Beta Was this translation helpful? Give feedback.
-
Currently the recommended type signature is |
Beta Was this translation helpful? Give feedback.
-
Conclusion: No renaming for now to be on the safe side. |
Beta Was this translation helpful? Give feedback.
-
When I auto complete to override an existing target, the the IDE (IntelliJ) will use
T[ReturnType]
.However, these are aliases to full named types since 0.12 and those are used in the introduction chapters.
So, my question is it worth to update these signatures so that auto complete gives types matching the docs? Or will that cause some strange issue and and thats why it was kept as the
T
alias?If it doesn't cause issues and its something worth doing then I can certainly do some of that busy work.
Sub questions:
Beta Was this translation helpful? Give feedback.
All reactions