1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_1.ts ===
///<reference path='exportAssignedTypeAsTypeAnnotation_0.ts'/>
import test = require('exportAssignedTypeAsTypeAnnotation_0');
>test : Symbol(test, Decl(exportAssignedTypeAsTypeAnnotation_1.ts, 0, 0))
var t2: test; // should not raise a 'container type' error
>t2 : Symbol(t2, Decl(exportAssignedTypeAsTypeAnnotation_1.ts, 2, 3))
>test : Symbol(test, Decl(exportAssignedTypeAsTypeAnnotation_1.ts, 0, 0))
=== tests/cases/compiler/exportAssignedTypeAsTypeAnnotation_0.ts ===
interface x {
>x : Symbol(x, Decl(exportAssignedTypeAsTypeAnnotation_0.ts, 0, 0))
(): Date;
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
foo: string;
>foo : Symbol(x.foo, Decl(exportAssignedTypeAsTypeAnnotation_0.ts, 2, 13))
}
export = x;
>x : Symbol(x, Decl(exportAssignedTypeAsTypeAnnotation_0.ts, 0, 0))
|