15 lines
310 B
Text
15 lines
310 B
Text
=== tests/cases/compiler/commentOnAmbientVariable2_2.ts ===
|
|
/// <reference path='commentOnAmbientVariable2_1.ts'/>
|
|
declare var x: number;
|
|
>x : number
|
|
|
|
x = 2;
|
|
>x = 2 : number
|
|
>x : number
|
|
>2 : number
|
|
|
|
=== tests/cases/compiler/commentOnAmbientVariable2_1.ts ===
|
|
var y = 1;
|
|
>y : number
|
|
>1 : number
|
|
|