0dc95ceb60
Fixes #474
33 lines
887 B
JavaScript
33 lines
887 B
JavaScript
//// [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 {
|
|
id: number;
|
|
}
|
|
//// [importDeclarationUsedAsTypeQuery_1.d.ts]
|
|
/// <reference path="importDeclarationUsedAsTypeQuery_require.d.ts" />
|
|
import a = require('importDeclarationUsedAsTypeQuery_require');
|
|
export declare var x: typeof a;
|