Closed tsjs-copybara-bot closed 4 years ago
Add support for aliases during destructuring in migration.
Now when one writes:
const {a: b} = goog.require('...');
we will translate it to
import {a as b} from '...';
Previously we dropped the 'b' which required manual edits.
Add support for aliases during destructuring in migration.
Now when one writes:
const {a: b} = goog.require('...');
we will translate it to
import {a as b} from '...';
Previously we dropped the 'b' which required manual edits.