* 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
18 lines
393 B
Plaintext
18 lines
393 B
Plaintext
=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration3.ts ===
|
|
declare module X { export interface bar { } }
|
|
declare module "m" {
|
|
>"m" : typeof import("m")
|
|
|
|
module X { export interface foo { } }
|
|
export { X };
|
|
>X : any
|
|
|
|
export function foo(): X.foo;
|
|
>foo : () => X.foo
|
|
>X : any
|
|
|
|
export function bar(): X.bar; // error
|
|
>bar : () => X.bar
|
|
>X : any
|
|
}
|