TypeScript/tests/baselines/reference/exportAssignedTypeAsTypeAnnotation.types

24 lines
489 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_1.ts ===
///<reference path='exportAssignedTypeAsTypeAnnotation_0.ts'/>
import test = require('exportAssignedTypeAsTypeAnnotation_0');
>test : any
2014-08-15 23:33:16 +02:00
var t2: test; // should not raise a 'container type' error
>t2 : test
>test : test
2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_0.ts ===
interface x {
>x : x
2014-08-15 23:33:16 +02:00
(): Date;
>Date : Date
2014-08-15 23:33:16 +02:00
foo: string;
>foo : string
2014-08-15 23:33:16 +02:00
}
export = x;
>x : x
2014-08-15 23:33:16 +02:00