This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
f2c6b94ee7
prettier
/
tests
/
flow_generic
/
type.js
4 lines
88 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Print TypeParameter even when unary function type (#2406)
2017-07-06 12:13:30 +03:00
type
F
=
<
T
>
(
T
)
=>
T
;
type
G
=
(
<
A
,
B
>
(
A
)
=>
B
)
;
Strip away unnecessary quotes in keys in type objects and interfaces (#2643) * Use printPropertyKey function to print keys in object type property in TS and Flow * Remove flow test modification * Add tests for new object key cases * Add new test file * Fix some styles
2017-08-21 13:08:38 +03:00
type
H
=
{
'A'
:
string
,
"B"
:
number
}
;