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
eca23e111f
prettier
/
tests
/
typescript_destructuring
/
destructuring.ts
5 lines
67 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Update tsep and add test for destructuring assignment (#2443) Fixes #2229
2017-07-11 02:11:18 +03:00
(
{
foo
=
[
]
}
=
bar
)
;
Cleanup unused nodes, and turn on importMeta babylon plugin (#2498) * Cleanup unused AST nodes * Add tests for JSXNamespacedName * Turn on importMeta babylon plugin * Add tests for DeclareTypeAlias * Add back TS*Keyword nodes, fix TS optional destructuring
2017-07-16 16:59:49 +03:00
function
f
(
{
x
}
?
)
{
}
function
g
(
[
x
]
?
)
{
}