TypeScript/tests/cases/conformance/es6/modules/exportsAndImportsWithUnderscores3.ts
2015-12-21 16:23:51 -08:00

15 lines
231 B
TypeScript

//@module: commonjs
//@target: ES3
// @filename: m1.ts
var R: any
export default R = {
"___": 30,
"___hello": 21,
"_hi": 40,
}
// @filename: m2.ts
import R from "./m1";
const { ___, ___hello, _hi } = R;