mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
433 B
Plaintext
15 lines
433 B
Plaintext
//// [tests/cases/compiler/commentOnAmbientVariable2.ts] ////
|
|
|
|
=== commentOnAmbientVariable2_2.ts ===
|
|
/// <reference path='commentOnAmbientVariable2_1.ts'/>
|
|
declare var x: number;
|
|
>x : Symbol(x, Decl(commentOnAmbientVariable2_2.ts, 1, 11))
|
|
|
|
x = 2;
|
|
>x : Symbol(x, Decl(commentOnAmbientVariable2_2.ts, 1, 11))
|
|
|
|
=== commentOnAmbientVariable2_1.ts ===
|
|
var y = 1;
|
|
>y : Symbol(y, Decl(commentOnAmbientVariable2_1.ts, 0, 3))
|
|
|