1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
//// [tests/cases/conformance/salsa/requireOfESWithPropertyAccess.ts] ////
//// [main.js]
const x = require('./ch').x
x
x.grey
x.x.grey
//// [ch.js]
const x = {
grey: {}
}
export { x }
//// [ch.js]
"use strict";
exports.__esModule = true;
exports.x = void 0;
var x = {
grey: {}
};
exports.x = x;
//// [main.js]
"use strict";
var x = require('./ch').x;
x;
x.grey;
x.x.grey;
//// [ch.d.ts]
export namespace x {
const grey: {};
}
//// [main.d.ts]
export {};
|