mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
11 lines
193 B
TypeScript
11 lines
193 B
TypeScript
// @Filename: foo1.ts
|
|
|
|
declare module M1 {
|
|
export var a: string;
|
|
export function b(): number;
|
|
}
|
|
export = M1;
|
|
|
|
// @Filename: foo2.ts
|
|
import foo1 = require('./foo1');
|
|
var x: number = foo1.b(); |