00d4b4cb50
Fixes bug #4404
23 lines
453 B
Plaintext
23 lines
453 B
Plaintext
=== tests/cases/compiler/consumer.tsx ===
|
|
/// <reference path="component.d.ts" />
|
|
import Test from 'Test';
|
|
>Test : typeof Test
|
|
|
|
let x = Test; // emit test_1.default
|
|
>x : typeof Test
|
|
>Test : typeof Test
|
|
|
|
<anything attr={Test} />; // ?
|
|
><anything attr={Test} /> : any
|
|
>anything : any
|
|
>attr : any
|
|
>Test : typeof Test
|
|
|
|
=== tests/cases/compiler/component.d.ts ===
|
|
|
|
declare module "Test" {
|
|
export default class Text { }
|
|
>Text : Text
|
|
}
|
|
|