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'm not sure if this already has been discussed, if so, please let me know.
Currently the Method and Function Parameters section defines a function argument list split across multiple lines in combination with a return type as such:
My proposal would be to place the opening brace on a new line when a function's argument list is split across multiple lines and a return type is specified:
I'm not sure if this already has been discussed, if so, please let me know.
Currently the Method and Function Parameters section defines a function argument list split across multiple lines in combination with a return type as such:
However, when the definition get bigger with for example default values and interfaces as return types, it becomes (IMO) less readable:
My proposal would be to place the opening brace on a new line when a function's argument list is split across multiple lines and a return type is specified:
Note that if no return type is specified, the opening brace must still be on the same line:
The text was updated successfully, but these errors were encountered: