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