TypeScript/tests/baselines/reference/commentOnAmbientVariable2.types

14 lines
284 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/commentOnAmbientVariable2_2.ts ===
/// <reference path='commentOnAmbientVariable2_1.ts'/>
declare var x: number;
>x : number
x = 2;
>x = 2 : number
>x : number
=== tests/cases/compiler/commentOnAmbientVariable2_1.ts ===
var y = 1;
>y : number