mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
// @module: commonjs
|
|
// @Filename: foo_0.ts
|
|
declare module "foo" {
|
|
export var x: number;
|
|
}
|
|
|
|
// @Filename: foo_1.ts
|
|
/// <reference path="foo_0.ts"/>
|
|
import foo = require("foo");
|
|
var z = foo.x + 10;
|