2014-07-13 01:04:16 +02:00
|
|
|
//// [declFileImportedTypeUseInTypeArgPosition.ts]
|
|
|
|
class List<T> { }
|
|
|
|
declare module 'mod1' {
|
|
|
|
class Foo {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'moo' {
|
|
|
|
import x = require('mod1');
|
|
|
|
export var p: List<x.Foo>;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//// [declFileImportedTypeUseInTypeArgPosition.js]
|
|
|
|
var List = (function () {
|
|
|
|
function List() {
|
|
|
|
}
|
|
|
|
return List;
|
|
|
|
})();
|
2014-08-06 22:16:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
//// [declFileImportedTypeUseInTypeArgPosition.d.ts]
|
|
|
|
declare class List<T> {
|
|
|
|
}
|
|
|
|
declare module 'mod1' {
|
2014-08-07 00:13:06 +02:00
|
|
|
class Foo {
|
|
|
|
}
|
2014-08-06 22:16:41 +02:00
|
|
|
}
|
|
|
|
declare module 'moo' {
|
|
|
|
import x = require('mod1');
|
|
|
|
var p: List<x.Foo>;
|
|
|
|
}
|