22 lines
478 B
TypeScript
22 lines
478 B
TypeScript
//// [functionAndPropertyNameConflict.ts]
|
|
class C65 {
|
|
public aaaaa() { }
|
|
public get aaaaa() {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
//// [functionAndPropertyNameConflict.js]
|
|
var C65 = (function () {
|
|
function C65() {
|
|
}
|
|
C65.prototype.aaaaa = function () { };
|
|
Object.defineProperty(C65.prototype, "aaaaa", {
|
|
get: function () {
|
|
return 1;
|
|
},
|
|
enumerable: true,
|
|
configurable: true
|
|
});
|
|
return C65;
|
|
})();
|