23 lines
481 B
JavaScript
23 lines
481 B
JavaScript
//// [ambientExternalModuleInAnotherExternalModule.ts]
|
|
|
|
class D { }
|
|
export = D;
|
|
|
|
declare module "ext" {
|
|
export class C { }
|
|
}
|
|
|
|
// Cannot resolve this ext module reference
|
|
import ext = require("ext");
|
|
var x = ext;
|
|
|
|
//// [ambientExternalModuleInAnotherExternalModule.js]
|
|
define(["require", "exports", "ext"], function (require, exports, ext) {
|
|
var D = (function () {
|
|
function D() {
|
|
}
|
|
return D;
|
|
})();
|
|
var x = ext;
|
|
return D;
|
|
});
|