mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
8 lines
147 B
TypeScript
8 lines
147 B
TypeScript
// @module: commonjs
|
|
// @Filename: foo_0.ts
|
|
export var foo = 42;
|
|
|
|
// @Filename: foo_1.ts
|
|
import foo = require('./foo_0.js');
|
|
var x = foo.foo + 42;
|