TypeScript/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.types

26 lines
1 KiB
Plaintext
Raw Normal View History

2014-12-17 23:33:32 +01:00
=== tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt6.ts ===
module Z.M {
2015-04-13 23:01:57 +02:00
>Z : typeof Z, Symbol(Z, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 0, 0))
>M : typeof M, Symbol(M, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 0, 9))
2014-12-17 23:33:32 +01:00
export function bar() {
2015-04-13 23:01:57 +02:00
>bar : () => string, Symbol(bar, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 0, 12))
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 {
2015-04-13 23:01:57 +02:00
>A : typeof A, Symbol(A, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 4, 1))
>M : typeof A.M, Symbol(M, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 5, 9))
2014-12-17 23:33:32 +01:00
import M = Z.M;
2015-04-13 23:01:57 +02:00
>M : typeof M, Symbol(M, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 5, 12))
>Z : typeof Z, Symbol(Z, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 0, 0))
>M : typeof M, Symbol(M, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 0, 9))
2014-12-17 23:33:32 +01:00
export function bar() {
2015-04-13 23:01:57 +02:00
>bar : () => void, Symbol(bar, Decl(moduleSharesNameWithImportDeclarationInsideIt6.ts, 6, 19))
2014-12-17 23:33:32 +01:00
}
}