2014-08-22 23:35:07 +02:00
|
|
|
=== tests/cases/compiler/b.ts ===
|
|
|
|
///<reference path="a.ts"/>
|
|
|
|
declare module E {
|
|
|
|
>E : typeof E
|
|
|
|
|
|
|
|
class foobar extends D.bar {
|
|
|
|
>foobar : foobar
|
2014-08-29 02:30:56 +02:00
|
|
|
>D : unknown
|
|
|
|
>bar : D.bar
|
2014-08-22 23:35:07 +02:00
|
|
|
|
|
|
|
foo();
|
|
|
|
>foo : () => any
|
|
|
|
}
|
|
|
|
}
|
|
|
|
=== tests/cases/compiler/a.ts ===
|
|
|
|
/*! Keep this pinned comment */
|
|
|
|
declare module C {
|
|
|
|
>C : typeof C
|
|
|
|
|
|
|
|
function foo();
|
|
|
|
>foo : () => any
|
|
|
|
}
|
|
|
|
|
|
|
|
// Don't keep this comment.
|
|
|
|
declare module D {
|
|
|
|
>D : typeof D
|
|
|
|
|
|
|
|
class bar { }
|
|
|
|
>bar : bar
|
|
|
|
}
|
|
|
|
|