2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/importDeclarationUsedAsTypeQuery_1.ts ===
|
|
|
|
///<reference path='importDeclarationUsedAsTypeQuery_require.ts'/>
|
|
|
|
import a = require('importDeclarationUsedAsTypeQuery_require');
|
2014-08-28 21:40:58 +02:00
|
|
|
>a : typeof a
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: typeof a;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : typeof a
|
|
|
|
>a : typeof a
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/importDeclarationUsedAsTypeQuery_require.ts ===
|
|
|
|
export class B {
|
|
|
|
>B : B
|
|
|
|
|
|
|
|
id: number;
|
|
|
|
>id : number
|
|
|
|
}
|
|
|
|
|