14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
|
//@module: amd
|
||
|
|
||
|
// @Filename: exportAssignedTypeAsTypeAnnotation_0.ts
|
||
|
interface x {
|
||
|
(): Date;
|
||
|
foo: string;
|
||
|
}
|
||
|
export = x;
|
||
|
|
||
|
// @Filename: exportAssignedTypeAsTypeAnnotation_1.ts
|
||
|
///<reference path='exportAssignedTypeAsTypeAnnotation_0.ts'/>
|
||
|
import test = require('exportAssignedTypeAsTypeAnnotation_0');
|
||
|
var t2: test; // should not raise a 'container type' error
|