Pass a reference to setter
<p>I have a private variable which I get/set using typescript getter/setter, for example:</p>

<pre><code>private _x:number; 

set x(value:number){
   _x = value;
}

get x():number{
   return _x;
}
</code></pre>

<p>Is it possible to pass a reference to this setter so that I could use it later?
If I try to pass object.x, then it, of course get's the value of _x.</p>

<p>I know I could pass a string, "x", and then use it like obj["x"], but that would not be a good strongly-typed practice, plus, I would need to pass an object too.</p>