00d4b4cb50
Fixes bug #4404
21 lines
557 B
Plaintext
21 lines
557 B
Plaintext
=== tests/cases/compiler/consumer.tsx ===
|
|
/// <reference path="component.d.ts" />
|
|
import Test from 'Test';
|
|
>Test : Symbol(Test, Decl(consumer.tsx, 1, 6))
|
|
|
|
let x = Test; // emit test_1.default
|
|
>x : Symbol(x, Decl(consumer.tsx, 3, 3))
|
|
>Test : Symbol(Test, Decl(consumer.tsx, 1, 6))
|
|
|
|
<anything attr={Test} />; // ?
|
|
>attr : Symbol(unknown)
|
|
>Test : Symbol(Test, Decl(consumer.tsx, 1, 6))
|
|
|
|
=== tests/cases/compiler/component.d.ts ===
|
|
|
|
declare module "Test" {
|
|
export default class Text { }
|
|
>Text : Symbol(Text, Decl(component.d.ts, 1, 23))
|
|
}
|
|
|