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 think you have an outdated version, the function type above formats w/o space around the |.
As for having spaces around the | in types, this is Working As Intended, to make Foo|null more readable. I think intersection types are very rare, and for union types there is enough whitespace around the | char. YMMV.
On the angular repo:
vs
I find the readability in the later case much worse (@mpbrost seems prefer this way)
/ref https://github.com/angular/angular/pull/11507/files#r78282320
The text was updated successfully, but these errors were encountered: