14 lines
284 B
Plaintext
14 lines
284 B
Plaintext
|
=== 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
|
||
|
|