TypeScript/tests/baselines/reference/elidingImportNames.types
2015-04-15 16:44:20 -07:00

32 lines
616 B
Plaintext

=== tests/cases/compiler/elidingImportNames_test.ts ===
import a = require('elidingImportNames_main'); // alias used in typeof
>a : typeof a
var b = a;
>b : typeof a
>a : typeof a
var x: typeof a;
>x : typeof a
>a : typeof a
import a2 = require('elidingImportNames_main1'); // alias not used in typeof
>a2 : typeof a2
var b2 = a2;
>b2 : typeof a2
>a2 : typeof a2
=== tests/cases/compiler/elidingImportNames_main.ts ===
export var main = 10;
>main : number
>10 : number
=== tests/cases/compiler/elidingImportNames_main1.ts ===
export var main = 10;
>main : number
>10 : number