2014-08-22 23:35:07 +02:00
|
|
|
=== tests/cases/compiler/b.ts ===
|
|
|
|
///<reference path="a.ts"/>
|
|
|
|
declare module E {
|
2015-04-16 01:44:20 +02:00
|
|
|
>E : typeof E
|
2014-08-22 23:35:07 +02:00
|
|
|
|
|
|
|
class foobar extends D.bar {
|
2015-04-16 01:44:20 +02:00
|
|
|
>foobar : foobar
|
2015-06-16 15:55:52 +02:00
|
|
|
>D.bar : D.bar
|
2015-04-16 01:44:20 +02:00
|
|
|
>D : typeof D
|
2015-06-16 00:46:29 +02:00
|
|
|
>bar : typeof D.bar
|
2014-08-22 23:35:07 +02:00
|
|
|
|
|
|
|
foo();
|
2015-04-16 01:44:20 +02:00
|
|
|
>foo : () => any
|
2014-08-22 23:35:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
=== tests/cases/compiler/a.ts ===
|
|
|
|
/*! Keep this pinned comment */
|
|
|
|
declare module C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : typeof C
|
2014-08-22 23:35:07 +02:00
|
|
|
|
|
|
|
function foo();
|
2015-04-16 01:44:20 +02:00
|
|
|
>foo : () => any
|
2014-08-22 23:35:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Don't keep this comment.
|
|
|
|
declare module D {
|
2015-04-16 01:44:20 +02:00
|
|
|
>D : typeof D
|
2014-08-22 23:35:07 +02:00
|
|
|
|
|
|
|
class bar { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>bar : bar
|
2014-08-22 23:35:07 +02:00
|
|
|
}
|
|
|
|
|