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
17 lines
500 B
Plaintext
17 lines
500 B
Plaintext
=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_A.ts ===
|
|
declare module X { export interface bar { } }
|
|
No type information for this code.
|
|
No type information for this code.=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts ===
|
|
declare module X { export interface foo { } }
|
|
export { X };
|
|
>X : any
|
|
|
|
export declare function foo(): X.foo;
|
|
>foo : () => X.foo
|
|
>X : any
|
|
|
|
export declare function bar(): X.bar; // error
|
|
>bar : () => X.bar
|
|
>X : any
|
|
|