mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
12 lines
243 B
TypeScript
12 lines
243 B
TypeScript
|
// @module: commonjs
|
||
|
// @Filename: vs/foo_0.ts
|
||
|
export var x: number;
|
||
|
|
||
|
// @Filename: vs/fum.d.ts
|
||
|
export declare var y: number;
|
||
|
|
||
|
// @Filename: foo_1.ts
|
||
|
import foo = require("./vs/foo_0");
|
||
|
import fum = require("./vs/fum");
|
||
|
var z = foo.x + fum.y;
|