mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 13:51:19 +03:00
18 lines
222 B
JavaScript
18 lines
222 B
JavaScript
module.exports = Foo;
|
|
// @Filename: foo_1.ts
|
|
const foo = require("./foo_0");
|
|
var x;
|
|
x("test");
|
|
x(42);
|
|
var y = x.b;
|
|
if (!!x.c) {
|
|
}
|
|
var z = {
|
|
x: 1,
|
|
y: 2
|
|
};
|
|
z = x.d;
|
|
// @module: amd
|
|
// @Filename: foo_0.ts
|
|
export { };
|