TypeScript/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.types

26 lines
396 B
Plaintext
Raw Normal View History

2014-12-17 23:33:32 +01:00
=== tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt6.ts ===
module Z.M {
>Z : typeof Z
>M : typeof M
2014-12-17 23:33:32 +01:00
export function bar() {
>bar : () => string
2014-12-17 23:33:32 +01:00
return "";
2015-04-13 21:36:11 +02:00
>"" : string
2014-12-17 23:33:32 +01:00
}
}
module A.M {
>A : typeof A
>M : typeof A.M
2014-12-17 23:33:32 +01:00
import M = Z.M;
>M : typeof M
>Z : typeof Z
>M : typeof M
2014-12-17 23:33:32 +01:00
export function bar() {
>bar : () => void
2014-12-17 23:33:32 +01:00
}
}