ast-types was missing a type, I sent a PR on ast-type ( https://github.com/benjamn/ast-types/pull/211 ) which was merged and released (thanks @benjamn for being super quick!). So I'm upgrading ast-types and add the test in this PR. Fixes #1007
12 lines
126 B
JavaScript
12 lines
126 B
JavaScript
export default (
|
|
{
|
|
foo,
|
|
bar
|
|
}: {
|
|
// comment
|
|
foo?: Object,
|
|
// comment 2
|
|
bar?: Object,
|
|
},
|
|
) => {}
|