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
25 lines
365 B
Plaintext
25 lines
365 B
Plaintext
=== tests/cases/compiler/moduleNewExportBug.ts ===
|
|
module mod1 {
|
|
>mod1 : typeof mod1
|
|
|
|
interface mInt {
|
|
new (bar:any):any;
|
|
>bar : any
|
|
|
|
foo (bar:any):any;
|
|
>foo : (bar: any) => any
|
|
>bar : any
|
|
}
|
|
|
|
class C { public moo() {}}
|
|
>C : C
|
|
>moo : () => void
|
|
}
|
|
|
|
var c : mod1.C; // ERROR: C should not be visible
|
|
>c : mod1.C
|
|
>mod1 : any
|
|
|
|
|
|
|