2018-05-03 23:00:52 +02:00
|
|
|
// @lib: es5
|
2014-07-13 01:04:16 +02:00
|
|
|
module M
|
|
|
|
{
|
|
|
|
export class Test
|
|
|
|
{
|
|
|
|
private name = "hello";
|
|
|
|
public setName = function(value: string): void {
|
|
|
|
(function () {
|
|
|
|
name=value;
|
|
|
|
})();
|
|
|
|
}
|
|
|
|
public getName = function(): string {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|