32 lines
509 B
Text
32 lines
509 B
Text
=== tests/cases/compiler/b.ts ===
|
|
///<reference path="a.ts"/>
|
|
declare module E {
|
|
>E : typeof E
|
|
|
|
class foobar extends D.bar {
|
|
>foobar : foobar
|
|
>D.bar : typeof D.bar
|
|
>D : typeof D
|
|
>bar : typeof D.bar
|
|
|
|
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
|
|
}
|
|
|