3519af0bab
* Add failing test * Dumb fix * Compute error message info more lazily * One more laziness
23 lines
327 B
Plaintext
23 lines
327 B
Plaintext
=== /globals.ts ===
|
|
namespace globals {
|
|
>globals : typeof globals
|
|
|
|
export type Foo = {};
|
|
>Foo : Foo
|
|
|
|
export const Bar = {};
|
|
>Bar : {}
|
|
>{} : {}
|
|
}
|
|
import Foo = globals.toString.Blah;
|
|
>Foo : any
|
|
>globals : typeof globals
|
|
>toString : any
|
|
>Blah : any
|
|
|
|
=== /index.ts ===
|
|
const Foo = {};
|
|
>Foo : {}
|
|
>{} : {}
|
|
|