9 lines
115 B
JavaScript
9 lines
115 B
JavaScript
![]() |
// @flow
|
||
|
|
||
|
let tests = [
|
||
|
function(x: Object) {
|
||
|
({...x}: Object);
|
||
|
({...x}: void); // error, Object
|
||
|
},
|
||
|
];
|