Add test for exports destructuring.

This commit is contained in:
Artem Yavorsky 2017-03-15 15:37:17 +02:00
parent f81d7496b1
commit 9b410be61c
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
export const { foo: bar, baz } = {};

View File

@ -0,0 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const { foo: bar, baz } = {};
exports.baz = baz;
exports.bar = bar;