TypeScript/tests/baselines/reference/exportAssignedTypeAsTypeAnnotation.types
2015-04-15 16:44:20 -07:00

24 lines
489 B
Plaintext

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