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
When defining methods where the types have a < or a > (Array<...> or any Flow utility type) and that method implicitly returns a value the syntax highlighting breaks down. Take the following simple example:
When defining methods where the types have a
<
or a>
(Array<...>
or any Flow utility type) and that method implicitly returns a value the syntax highlighting breaks down. Take the following simple example:The syntax highlighting breaks down after the implicit return of `params. However, if the above was defined as:
The syntax highlighting remains intact.
The first example can be fixed by using the long-form with an explicit return:
The text was updated successfully, but these errors were encountered: