TypeScript/tests/baselines/reference/importDeclarationUsedAsTypeQuery.types

18 lines
738 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/importDeclarationUsedAsTypeQuery_1.ts ===
///<reference path='importDeclarationUsedAsTypeQuery_require.ts'/>
import a = require('importDeclarationUsedAsTypeQuery_require');
2015-04-13 23:01:57 +02:00
>a : typeof a, Symbol(a, Decl(importDeclarationUsedAsTypeQuery_1.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export var x: typeof a;
2015-04-13 23:01:57 +02:00
>x : typeof a, Symbol(x, Decl(importDeclarationUsedAsTypeQuery_1.ts, 2, 10))
>a : typeof a, Symbol(a, Decl(importDeclarationUsedAsTypeQuery_1.ts, 0, 0))
2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/importDeclarationUsedAsTypeQuery_require.ts ===
export class B {
2015-04-13 23:01:57 +02:00
>B : B, Symbol(B, Decl(importDeclarationUsedAsTypeQuery_require.ts, 0, 0))
2014-08-15 23:33:16 +02:00
id: number;
2015-04-13 23:01:57 +02:00
>id : number, Symbol(id, Decl(importDeclarationUsedAsTypeQuery_require.ts, 0, 16))
2014-08-15 23:33:16 +02:00
}