no-named-as-default-member -TypeError: Cannot read property 'name' of undefined #281
Closed
Description
no-named-as-default-member.js:85:42
Unsure what source makes it crash... Narrowed it down to:
function someFunction() {
switch (someVariable) {
case 'something': {
const { // The error is reported at the { on this line
...rest
} = someGlobal;
}
}
}