I was playing around on the playground and discovered an unexpected error while trying to transform the following code:
const a = () => {
foo: "bar",
baz: "buz"
};
const { foo, baz } = a;
Playground link
Expected behavior:
No uncaught exception. Instead expected a unsupported node diagnostic.