2017-01-17 22:51:00 +01:00
|
|
|
// @module: amd
|
|
|
|
// @outdir: out/
|
2018-01-27 00:14:48 +01:00
|
|
|
// @allowJs: true
|
2018-02-24 19:15:32 +01:00
|
|
|
// @fullEmitPaths: true
|
2018-04-06 00:27:44 +02:00
|
|
|
// @resolveJsonModule: true
|
2017-01-17 22:51:00 +01:00
|
|
|
|
|
|
|
// @Filename: file1.ts
|
|
|
|
import b1 = require('./b');
|
|
|
|
let x = b1.a;
|
|
|
|
import b2 = require('./b.json');
|
|
|
|
if (x) {
|
|
|
|
let b = b2.b;
|
|
|
|
x = (b1.b === b);
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: b.json
|
|
|
|
{
|
|
|
|
"a": true,
|
|
|
|
"b": "hello"
|
|
|
|
}
|