This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
c085aeb152
prettier
/
tests
/
flow_annotation
/
array_of_functions.js
2 lines
40 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Keep parens around FunctionTypeAnnotation inside ArrayTypeAnnotation (#2561) Without this, this: const actionArray: (() => void)[] = []; is formatted as: const actionArray: () => void[] = []; Fixes #2559
2017-07-29 17:50:38 +03:00
const
actionArray
:
(
(
)
=>
void
)
[
]
=
[
]
;