TypeScript/tests/baselines/reference/exportAssignedTypeAsTypeAnnotation.types
2014-08-15 14:37:48 -07:00

24 lines
487 B
Plaintext

=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_1.ts ===
///<reference path='exportAssignedTypeAsTypeAnnotation_0.ts'/>
import test = require('exportAssignedTypeAsTypeAnnotation_0');
>test : test
var t2: test; // should not raise a 'container type' error
>t2 : x
>test : test
=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_0.ts ===
interface x {
>x : x
(): Date;
>Date : Date
foo: string;
>foo : string
}
export = x;
>x : x