mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +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;
|