2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: typeofAmbientExternalModules_0.ts
|
|
|
|
export class C { foo: string; }
|
|
|
|
|
|
|
|
// @Filename: typeofAmbientExternalModules_1.ts
|
|
|
|
class D { bar: string; }
|
|
|
|
export = D;
|
|
|
|
|
|
|
|
// @Filename: typeofAmbientExternalModules_2.ts
|
|
|
|
///<reference path='typeofAmbientExternalModules_0.ts'/>
|
|
|
|
///<reference path='typeofAmbientExternalModules_1.ts'/>
|
2015-09-15 20:43:28 +02:00
|
|
|
import ext = require('./typeofAmbientExternalModules_0');
|
|
|
|
import exp = require('./typeofAmbientExternalModules_1');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
var y1: typeof ext = ext;
|
|
|
|
y1 = exp;
|
|
|
|
var y2: typeof exp = exp;
|
|
|
|
y2 = ext;
|