2014-12-16 21:25:05 +01:00
|
|
|
//// [accessorParameterAccessibilityModifier.ts]
|
|
|
|
|
|
|
|
class C {
|
|
|
|
set X(public v) { }
|
|
|
|
static set X(public v2) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [accessorParameterAccessibilityModifier.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
|
|
|
Object.defineProperty(C.prototype, "X", {
|
2015-02-07 03:45:09 +01:00
|
|
|
set: function (v) { },
|
2014-12-16 21:25:05 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
Object.defineProperty(C, "X", {
|
2015-02-07 03:45:09 +01:00
|
|
|
set: function (v2) { },
|
2014-12-16 21:25:05 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|