a4f9bf0fce
* Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
=== tests/cases/compiler/exportSpecifierAndLocalMemberDeclaration.ts ===
|
|
declare module "m2" {
|
|
>"m2" : Symbol("m2", Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 0), Decl(exportSpecifierAndLocalMemberDeclaration.ts, 7, 1))
|
|
|
|
module X {
|
|
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 21))
|
|
|
|
interface I { }
|
|
>I : Symbol(I, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 1, 14))
|
|
}
|
|
function Y();
|
|
>Y : Symbol(Y, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 3, 5))
|
|
|
|
export { Y as X };
|
|
>Y : Symbol(Y, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 3, 5))
|
|
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 5, 12))
|
|
|
|
function Z(): X.I;
|
|
>Z : Symbol(Z, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 5, 22))
|
|
>X : Symbol(X, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 21))
|
|
>I : Symbol(X.I, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 1, 14))
|
|
}
|
|
|
|
declare module "m2" {
|
|
>"m2" : Symbol("m2", Decl(exportSpecifierAndLocalMemberDeclaration.ts, 0, 0), Decl(exportSpecifierAndLocalMemberDeclaration.ts, 7, 1))
|
|
|
|
function Z2(): X.I;
|
|
>Z2 : Symbol(Z2, Decl(exportSpecifierAndLocalMemberDeclaration.ts, 9, 21))
|
|
>X : Symbol(X)
|
|
>I : Symbol(X.I)
|
|
}
|