2014-07-13 01:04:16 +02:00
|
|
|
//// [tests/cases/compiler/importDeclarationUsedAsTypeQuery.ts] ////
|
|
|
|
|
|
|
|
//// [importDeclarationUsedAsTypeQuery_require.ts]
|
|
|
|
export class B {
|
|
|
|
id: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [importDeclarationUsedAsTypeQuery_1.ts]
|
|
|
|
///<reference path='importDeclarationUsedAsTypeQuery_require.ts'/>
|
|
|
|
import a = require('importDeclarationUsedAsTypeQuery_require');
|
|
|
|
export var x: typeof a;
|
|
|
|
|
|
|
|
|
|
|
|
//// [importDeclarationUsedAsTypeQuery_require.js]
|
|
|
|
var B = (function () {
|
|
|
|
function B() {
|
|
|
|
}
|
|
|
|
return B;
|
|
|
|
})();
|
|
|
|
exports.B = B;
|
|
|
|
//// [importDeclarationUsedAsTypeQuery_1.js]
|
|
|
|
exports.x;
|
|
|
|
|
|
|
|
|
|
|
|
//// [importDeclarationUsedAsTypeQuery_require.d.ts]
|
|
|
|
export declare class B {
|
2014-07-12 01:36:06 +02:00
|
|
|
id: number;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
2014-08-06 22:16:41 +02:00
|
|
|
//// [importDeclarationUsedAsTypeQuery_1.d.ts]
|
2014-09-05 01:21:56 +02:00
|
|
|
/// <reference path="importDeclarationUsedAsTypeQuery_require.d.ts" />
|
2014-08-06 22:16:41 +02:00
|
|
|
import a = require('importDeclarationUsedAsTypeQuery_require');
|
|
|
|
export declare var x: typeof a;
|