mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
13 lines
176 B
TypeScript
13 lines
176 B
TypeScript
// @module: amd
|
|
// @Filename: foo_0.ts
|
|
module Foo {
|
|
export var answer = 42;
|
|
}
|
|
export = Foo;
|
|
|
|
// @Filename: foo_1.ts
|
|
import foo = require("./foo_0");
|
|
if(foo.answer === 42){
|
|
|
|
}
|